Skip to content

Commit a696ae4

Browse files
committed
fix a few comments
1 parent 37ece38 commit a696ae4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/lock-app/silabs/src/LockManager.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ DlStatus LockManager::GetWeekdaySchedule(chip::EndpointId endpointId, uint8_t we
631631

632632
error = mStorage->SyncGetKeyValue(scheduleDataKey.KeyName(), &weekDayScheduleInStorage, scheduleSize);
633633

634-
// If no data is found at scheduleUserMapKey key
634+
// If no data is found at scheduleDataKey
635635
if (error == CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND)
636636
{
637637
ChipLogError(Zcl, "No schedule data found for user");
@@ -723,7 +723,7 @@ DlStatus LockManager::GetYeardaySchedule(chip::EndpointId endpointId, uint8_t ye
723723

724724
error = mStorage->SyncGetKeyValue(scheduleDataKey.KeyName(), &yearDayScheduleInStorage, scheduleSize);
725725

726-
// If no data is found at scheduleUserMapKey key
726+
// If no data is found at scheduleDataKey
727727
if (error == CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND)
728728
{
729729
ChipLogError(Zcl, "No schedule data found for user");
@@ -808,7 +808,7 @@ DlStatus LockManager::GetHolidaySchedule(chip::EndpointId endpointId, uint8_t ho
808808

809809
error = mStorage->SyncGetKeyValue(scheduleDataKey.KeyName(), &holidayScheduleInStorage, scheduleSize);
810810

811-
// If no data is found at scheduleUserMapKey key
811+
// If no data is found at scheduleDataKey
812812
if (error == CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND)
813813
{
814814
ChipLogError(Zcl, "No schedule data found for user");

0 commit comments

Comments
 (0)