diff --git a/examples/chef/common/chef-dishwasher-mode-delegate-impl.cpp b/examples/chef/common/chef-dishwasher-mode-delegate-impl.cpp index aceb654c0de7d0..b5206ef407dab6 100644 --- a/examples/chef/common/chef-dishwasher-mode-delegate-impl.cpp +++ b/examples/chef/common/chef-dishwasher-mode-delegate-impl.cpp @@ -124,7 +124,7 @@ chip::Protocols::InteractionModel::Status chefDishwasherModeReadCallback(chip::E const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, uint16_t maxReadLength) { - VerifyOrReturnValue(maxReadLength == 1 , chip::Protocols::InteractionModel::Status::ResourceExhausted); + VerifyOrReturnValue(maxReadLength == 1, chip::Protocols::InteractionModel::Status::ResourceExhausted); buffer[0] = gDishwasherModeInstance->GetCurrentMode(); chip::Protocols::InteractionModel::Status ret = chip::Protocols::InteractionModel::Status::Success; diff --git a/examples/chef/common/chef-operational-state-delegate-impl.cpp b/examples/chef/common/chef-operational-state-delegate-impl.cpp index 97ccad04500188..815fc50b28d582 100644 --- a/examples/chef/common/chef-operational-state-delegate-impl.cpp +++ b/examples/chef/common/chef-operational-state-delegate-impl.cpp @@ -238,7 +238,8 @@ chip::Protocols::InteractionModel::Status chefOperationalStateWriteCallback(chip { gOperationalStateDelegate->mCountDownTime.SetNonNull( static_cast(gOperationalStateDelegate->kExampleCountDown)); - (void) DeviceLayer::SystemLayer().StartTimer(System::Clock::Seconds16(1), onOperationalStateTimerTick, gOperationalStateDelegate); + (void) DeviceLayer::SystemLayer().StartTimer(System::Clock::Seconds16(1), onOperationalStateTimerTick, + gOperationalStateDelegate); } if (CHIP_NO_ERROR == err) @@ -303,4 +304,4 @@ void emberAfOperationalStateClusterInitCallback(chip::EndpointId endpointId) gOperationalStateInstance->Init(); } -#endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER +#endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER diff --git a/examples/chef/common/stubs.cpp b/examples/chef/common/stubs.cpp index e469727ed11047..6ec7c9e92f4cd0 100644 --- a/examples/chef/common/stubs.cpp +++ b/examples/chef/common/stubs.cpp @@ -32,11 +32,11 @@ #ifdef MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER #include "chef-dishwasher-mode-delegate-impl.h" -#endif // MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER +#endif // MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER #ifdef MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER #include "chef-operational-state-delegate-impl.h" -#endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER +#endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER using chip::app::DataModel::Nullable; @@ -96,11 +96,11 @@ Protocols::InteractionModel::Status emberAfExternalAttributeReadCallback(Endpoin #ifdef MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER case chip::app::Clusters::DishwasherMode::Id: return chefDishwasherModeReadCallback(endpoint, clusterId, attributeMetadata, buffer, maxReadLength); -#endif // MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER +#endif // MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER #ifdef MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER case chip::app::Clusters::OperationalState::Id: return chefOperationalStateReadCallback(endpoint, clusterId, attributeMetadata, buffer, maxReadLength); -#endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER +#endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER default: break; } @@ -169,11 +169,11 @@ Protocols::InteractionModel::Status emberAfExternalAttributeWriteCallback(Endpoi #ifdef MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER case chip::app::Clusters::DishwasherMode::Id: return chefDishwasherModeWriteCallback(endpoint, clusterId, attributeMetadata, buffer); -#endif // MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER +#endif // MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER #ifdef MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER case chip::app::Clusters::OperationalState::Id: return chefOperationalStateWriteCallback(endpoint, clusterId, attributeMetadata, buffer); -#endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER +#endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER default: break; }