Skip to content

Commit 9a873b7

Browse files
restyled-commitsarun-silabs
authored andcommitted
Restyled by whitespace
1 parent d3ee7de commit 9a873b7

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

examples/oven-app/oven-app-common/include/OvenEndpoint.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ class TemperatureControlledCabinetEndpoint
9090

9191
/**
9292
* @brief Initialize the temperature controlled cabinet endpoint. Sets the oven mode cluster instance with the appropriate delegate.
93-
*
93+
*
9494
* @return returns CHIP_NO_ERROR on success, or an error code on failure.
9595
*/
9696
CHIP_ERROR Init();
9797

9898
/**
9999
* @brief Get the oven mode delegate instance.
100-
*
100+
*
101101
* @return Reference to the oven mode delegate.
102102
*/
103103
OvenModeDelegate & GetOvenModeDelegate() { return mOvenModeDelegate; }private:

examples/oven-app/oven-app-common/src/CookSurfaceEndpoint.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ CHIP_ERROR CookSurfaceEndpoint::Init()
3232
chip::Protocols::InteractionModel::Status CookSurfaceEndpoint::GetOnOffState(bool &state)
3333
{
3434
auto status = OnOffServer::Instance().getOnOffValue(mEndpointId, &state);
35-
VerifyOrReturnValue(status == Protocols::InteractionModel::Status::Success, status,
35+
VerifyOrReturnValue(status == Protocols::InteractionModel::Status::Success, status,
3636
ChipLogError(AppServer, "ERR: reading on/off %x", to_underlying(status)));
3737
return status;
3838
}
@@ -41,7 +41,7 @@ chip::Protocols::InteractionModel::Status CookSurfaceEndpoint::SetOnOffState(boo
4141
{
4242
CommandId commandId = state ? OnOff::Commands::On::Id : OnOff::Commands::Off::Id;
4343
auto status = OnOffServer::Instance().setOnOffValue(mEndpointId, commandId, false);
44-
VerifyOrReturnValue(status == Protocols::InteractionModel::Status::Success, status,
44+
VerifyOrReturnValue(status == Protocols::InteractionModel::Status::Success, status,
4545
ChipLogError(AppServer, "ERR: updating on/off %x", to_underlying(status)));
4646
return status;
4747
}

examples/oven-app/oven-app-common/src/CookTopEndpoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ chip::Protocols::InteractionModel::Status CookTopEndpoint::SetOnOffState(bool st
3131
{
3232
CommandId commandId = state ? OnOff::Commands::On::Id : OnOff::Commands::Off::Id;
3333
auto status = OnOffServer::Instance().setOnOffValue(mEndpointId, commandId, false);
34-
VerifyOrReturnValue(status == Protocols::InteractionModel::Status::Success, status,
34+
VerifyOrReturnValue(status == Protocols::InteractionModel::Status::Success, status,
3535
ChipLogError(AppServer, "ERR: updating on/off %x", to_underlying(status)));
3636
return status;
3737
}

examples/oven-app/silabs/src/AppTask.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ void AppTask::ActionInitiated(OvenManager::Action_t aAction, int32_t aActor, uin
136136
{
137137
bool lightOn = aAction == OvenManager::ON_ACTION;
138138
ChipLogProgress(AppServer, "Turning CookTop %s", (lightOn) ? "On" : "Off");
139-
139+
140140
// TODO: Update LED state
141-
141+
142142
#ifdef DISPLAY_ENABLED
143143
sAppTask.GetLCD().WriteDemoUI(lightOn);
144144
#endif

examples/oven-app/silabs/src/OvenManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ OvenManager OvenManager::sOvenMgr;
4545
void OvenManager::Init()
4646
{
4747
DeviceLayer::PlatformMgr().LockChipStack();
48-
48+
4949
// Initialize states
5050
mCookTopState = kCookTopState_OffCompleted;
5151
mCookSurfaceState1 = kCookSurfaceState_OffCompleted;
5252
mCookSurfaceState2 = kCookSurfaceState_OffCompleted;
53-
53+
5454
// Endpoint initializations
5555
VerifyOrReturn(mOvenEndpoint.Init() == CHIP_NO_ERROR, ChipLogError(AppServer, "OvenEndpoint Init failed"));
5656

0 commit comments

Comments
 (0)