From 7791619919d4bce430d0f35361f0ff09ac8418f5 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 18 Jul 2024 09:21:09 +0000 Subject: [PATCH] Restyled by clang-format --- .../clusters/color-control-server/color-control-server.cpp | 5 +++-- src/app/clusters/color-control-server/color-control-server.h | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/clusters/color-control-server/color-control-server.cpp b/src/app/clusters/color-control-server/color-control-server.cpp index 5de705b864e2e3..396473522b38c0 100644 --- a/src/app/clusters/color-control-server/color-control-server.cpp +++ b/src/app/clusters/color-control-server/color-control-server.cpp @@ -266,7 +266,8 @@ class DefaultColorControlSceneHandler : public scenes::DefaultSceneHandlerImpl if (decodePair.valueUnsigned8.Value() <= static_cast(ColorControl::EnhancedColorMode::kEnhancedCurrentHueAndCurrentSaturation)) { - targetColorMode = static_cast(decodePair.valueUnsigned8.Value()); + targetColorMode = + static_cast(decodePair.valueUnsigned8.Value()); } break; default: @@ -569,7 +570,7 @@ void ColorControlServer::handleModeSwitch(EndpointId endpoint, uint8_t newColorM uint8_t colorModeTransition; - ColorControl::ColorMode newColorModeEnum = static_cast(newColorMode); + ColorControl::ColorMode newColorModeEnum = static_cast(newColorMode); ColorControl::EnhancedColorMode newEnhanceColorModeEnum = static_cast(newColorMode); if (oldColorMode == newColorModeEnum) { diff --git a/src/app/clusters/color-control-server/color-control-server.h b/src/app/clusters/color-control-server/color-control-server.h index 5c6203a50ae2a9..9af96eed9ffd14 100644 --- a/src/app/clusters/color-control-server/color-control-server.h +++ b/src/app/clusters/color-control-server/color-control-server.h @@ -147,8 +147,7 @@ class ColorControlServer bool moveToHueCommand(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, uint16_t hue, HueDirection moveDirection, uint16_t transitionTime, chip::BitMask optionsMask, - chip::BitMask optionsOverride, - bool isEnhanced); + chip::BitMask optionsOverride, bool isEnhanced); bool moveToHueAndSaturationCommand(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, uint16_t hue, uint8_t saturation, uint16_t transitionTime, chip::BitMask optionsMask,