Skip to content

Commit

Permalink
Fix setting numberOfHolidaySchedules default (#18860)
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson authored and pull[bot] committed Nov 3, 2023
1 parent 386ae33 commit 1372968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lock-app/linux/src/LockManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1372968

Please sign in to comment.