diff --git a/examples/all-clusters-app/all-clusters-common/src/microwave-oven-mode.cpp b/examples/all-clusters-app/all-clusters-common/src/microwave-oven-mode.cpp index d688d6ec5f241d..7a16866b644779 100644 --- a/examples/all-clusters-app/all-clusters-common/src/microwave-oven-mode.cpp +++ b/examples/all-clusters-app/all-clusters-common/src/microwave-oven-mode.cpp @@ -26,7 +26,7 @@ using List = chip::app::DataModel::List; using ModeTagStructType = chip::app::Clusters::detail::Structs::ModeTagStruct::Type; static ExampleMicrowaveOvenModeDelegate * gMicrowaveOvenModeDelegate = nullptr; -static ModeBase::Instance * gMicrowaveOvenModeInstance = nullptr; +static ModeBase::Instance * gMicrowaveOvenModeInstance = nullptr; CHIP_ERROR ExampleMicrowaveOvenModeDelegate::Init() { @@ -34,7 +34,8 @@ CHIP_ERROR ExampleMicrowaveOvenModeDelegate::Init() } // todo refactor code by making a parent class for all ModeInstance classes to reduce flash usage. -void ExampleMicrowaveOvenModeDelegate::HandleChangeToMode(uint8_t NewMode, ModeBase::Commands::ChangeToModeResponse::Type & response) +void ExampleMicrowaveOvenModeDelegate::HandleChangeToMode(uint8_t NewMode, + ModeBase::Commands::ChangeToModeResponse::Type & response) { response.status = to_underlying(ModeBase::StatusCode::kSuccess); }