Skip to content

Commit fbc02c4

Browse files
restyled-commitsarun-silabs
authored andcommitted
Restyled by clang-format
1 parent f68c4e2 commit fbc02c4

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ class TemperatureControlledCabinetEndpoint
8686
public:
8787
static constexpr uint8_t kModeBaseFeatures = 0; // No specific features for ModeBase::Instance
8888
TemperatureControlledCabinetEndpoint(EndpointId endpointId) :
89-
mEndpointId(endpointId), mOvenModeDelegate(mEndpointId), mOvenModeInstance(&mOvenModeDelegate, mEndpointId, OvenMode::Id, kModeBaseFeatures)
89+
mEndpointId(endpointId), mOvenModeDelegate(mEndpointId),
90+
mOvenModeInstance(&mOvenModeDelegate, mEndpointId, OvenMode::Id, kModeBaseFeatures)
9091
{}
9192

9293
/**

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

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,21 @@ using detail::Structs::ModeTagStruct::Type;
3737
// Static member definitions
3838
const Type OvenModeDelegate::sModeTagsBake[1] = { { .value = to_underlying(ModeTag::kBake) } };
3939

40-
const Type OvenModeDelegate::sModeTagsConvection[1] = { { .value = to_underlying(
41-
ModeTag::kConvection) } };
40+
const Type OvenModeDelegate::sModeTagsConvection[1] = { { .value = to_underlying(ModeTag::kConvection) } };
4241

4342
const Type OvenModeDelegate::sModeTagsGrill[1] = { { .value = to_underlying(ModeTag::kGrill) } };
4443

4544
const Type OvenModeDelegate::sModeTagsRoast[1] = { { .value = to_underlying(ModeTag::kRoast) } };
4645

4746
const Type OvenModeDelegate::sModeTagsClean[1] = { { .value = to_underlying(ModeTag::kClean) } };
4847

49-
const Type OvenModeDelegate::sModeTagsConvectionBake[1] = { { .value = to_underlying(
50-
ModeTag::kConvectionBake) } };
48+
const Type OvenModeDelegate::sModeTagsConvectionBake[1] = { { .value = to_underlying(ModeTag::kConvectionBake) } };
5149

52-
const Type OvenModeDelegate::sModeTagsConvectionRoast[1] = { { .value = to_underlying(
53-
ModeTag::kConvectionRoast) } };
50+
const Type OvenModeDelegate::sModeTagsConvectionRoast[1] = { { .value = to_underlying(ModeTag::kConvectionRoast) } };
5451

55-
const Type OvenModeDelegate::sModeTagsWarming[1] = { { .value =
56-
to_underlying(ModeTag::kWarming) } };
52+
const Type OvenModeDelegate::sModeTagsWarming[1] = { { .value = to_underlying(ModeTag::kWarming) } };
5753

58-
const Type OvenModeDelegate::sModeTagsProofing[1] = { { .value =
59-
to_underlying(ModeTag::kProofing) } };
54+
const Type OvenModeDelegate::sModeTagsProofing[1] = { { .value = to_underlying(ModeTag::kProofing) } };
6055

6156
const detail::Structs::ModeOptionStruct::Type OvenModeDelegate::skModeOptions[to_underlying(OvenModes::kModeCount)] = {
6257
{ .label = CharSpan::fromCharString("Bake"),

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ CHIP_ERROR AppSupportedTemperatureLevelsDelegate::RegisterSupportedLevels(Endpoi
3131
ChipLogError(AppServer, "RegisterSupportedLevels: invalid levels/null or count=0"));
3232

3333
VerifyOrReturnError(mRegisteredEndpointCount < kNumCookSurfaceEndpoints, CHIP_ERROR_NO_MEMORY,
34-
ChipLogError(AppServer, "RegisterSupportedLevels: capacity exceeded (%u)", static_cast<unsigned>(mRegisteredEndpointCount)));
34+
ChipLogError(AppServer, "RegisterSupportedLevels: capacity exceeded (%u)",
35+
static_cast<unsigned>(mRegisteredEndpointCount)));
3536
// Prevent duplicate endpoints
3637
for (size_t i = 0; i < mRegisteredEndpointCount; ++i)
3738
{

0 commit comments

Comments
 (0)