Skip to content

Commit 9860e6f

Browse files
restyled-commitsThirsrin
authored andcommitted
Restyled by clang-format
1 parent 61055ec commit 9860e6f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/app/clusters/color-control-server/color-control-server.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ class DefaultColorControlSceneHandler : public scenes::DefaultSceneHandlerImpl
224224

225225
// Initialize action attributes to default values in case they are not in the scene
226226
ColorControl::EnhancedColorMode targetColorMode = ColorControl::EnhancedColorMode::kCurrentHueAndCurrentSaturation;
227-
uint8_t loopActiveValue = 0x00;
228-
uint8_t loopDirectionValue = 0x00;
229-
uint16_t loopTimeValue = 0x0019; // Default loop time value according to spec
227+
uint8_t loopActiveValue = 0x00;
228+
uint8_t loopDirectionValue = 0x00;
229+
uint16_t loopTimeValue = 0x0019; // Default loop time value according to spec
230230

231231
while (pair_iterator.Next())
232232
{
@@ -282,7 +282,7 @@ class DefaultColorControlSceneHandler : public scenes::DefaultSceneHandlerImpl
282282
if (decodePair.attributeValue <=
283283
static_cast<uint8_t>(ColorControl::EnhancedColorMode::kEnhancedCurrentHueAndCurrentSaturation))
284284
{
285-
targetColorMode =static_cast<ColorControl::EnhancedColorMode>(decodePair.attributeValue);
285+
targetColorMode = static_cast<ColorControl::EnhancedColorMode>(decodePair.attributeValue);
286286
}
287287
break;
288288
default:
@@ -559,7 +559,7 @@ bool ColorControlServer::shouldExecuteIfOff(EndpointId endpoint, uint8_t optionM
559559
* @param endpoint
560560
* @param newColorMode
561561
*/
562-
void ColorControlServer::handleModeSwitch(EndpointId endpoint, ColorControl::EnhancedColorMode newColorMode)
562+
void ColorControlServer::handleModeSwitch(EndpointId endpoint, ColorControl::EnhancedColorMode newColorMode)
563563
{
564564
uint8_t oldColorMode = 0;
565565
Attributes::ColorMode::Get(endpoint, &oldColorMode);

0 commit comments

Comments
 (0)