diff --git a/examples/lock-app/linux/src/LockManager.cpp b/examples/lock-app/linux/src/LockManager.cpp index c5cb21f86b8ea2..630738796a2b49 100644 --- a/examples/lock-app/linux/src/LockManager.cpp +++ b/examples/lock-app/linux/src/LockManager.cpp @@ -96,7 +96,7 @@ bool LockManager::InitEndpoint(chip::EndpointId endpointId) Zcl, "Unable to get number of supported holiday schedules when initializing lock endpoint, defaulting to 10 [endpointId=%d]", endpointId); - numberOfYearDaySchedulesPerUser = 10; + numberOfHolidaySchedules = 10; } mEndpoints.emplace_back(endpointId, numberOfSupportedUsers, numberOfSupportedCredentials, numberOfWeekDaySchedulesPerUser,