Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and jadhavrohit924 committed Jan 20, 2023
1 parent e3da2f0 commit 03cca9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/platform/esp32/lock/BoltLockManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,8 @@ DlStatus BoltLockManager::GetWeekdaySchedule(chip::EndpointId endpointId, uint8_
}

DlStatus BoltLockManager::SetWeekdaySchedule(chip::EndpointId endpointId, uint8_t weekdayIndex, uint16_t userIndex,
DlScheduleStatus status, DaysMaskMap daysMask, uint8_t startHour,
uint8_t startMinute, uint8_t endHour, uint8_t endMinute)
DlScheduleStatus status, DaysMaskMap daysMask, uint8_t startHour, uint8_t startMinute,
uint8_t endHour, uint8_t endMinute)
{

VerifyOrReturnValue(weekdayIndex > 0, DlStatus::kFailure); // indices are one-indexed
Expand Down
3 changes: 2 additions & 1 deletion examples/platform/esp32/lock/BoltLockManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ class BoltLockManager
EmberAfPluginDoorLockCredentialInfo & credential);

bool SetCredential(chip::EndpointId endpointId, uint16_t credentialIndex, chip::FabricIndex creator, chip::FabricIndex modifier,
DlCredentialStatus credentialStatus, CredentialTypeEnum credentialType, const chip::ByteSpan & credentialData);
DlCredentialStatus credentialStatus, CredentialTypeEnum credentialType,
const chip::ByteSpan & credentialData);

DlStatus GetWeekdaySchedule(chip::EndpointId endpointId, uint8_t weekdayIndex, uint16_t userIndex,
EmberAfPluginDoorLockWeekDaySchedule & schedule);
Expand Down
3 changes: 2 additions & 1 deletion examples/platform/esp32/lock/ZclCallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ using namespace ::chip::DeviceLayer::Internal;
*/
void emberAfDoorLockClusterInitCallback(EndpointId endpoint) {}

bool emberAfPluginDoorLockOnDoorLockCommand(chip::EndpointId endpointId, const Optional<ByteSpan> & pinCode, OperationErrorEnum & err)
bool emberAfPluginDoorLockOnDoorLockCommand(chip::EndpointId endpointId, const Optional<ByteSpan> & pinCode,
OperationErrorEnum & err)
{
ChipLogProgress(Zcl, "Door Lock App: Lock Command endpoint=%d", endpointId);
bool status = BoltLockMgr().Lock(endpointId, pinCode, err);
Expand Down

0 comments on commit 03cca9c

Please sign in to comment.