From 8dec90989123782dd830fba0fa4c3fb2f84aa119 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 21 Aug 2024 12:50:29 +0000 Subject: [PATCH] Restyled by clang-format --- src/app/common/CompatEnumNames.h | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/src/app/common/CompatEnumNames.h b/src/app/common/CompatEnumNames.h index d8644c8f0a3a6c..7427e4eaba2515 100644 --- a/src/app/common/CompatEnumNames.h +++ b/src/app/common/CompatEnumNames.h @@ -84,35 +84,29 @@ namespace ColorControl { // https://github.com/project-chip/connectedhomeip/pull/33612 renamed this enum class ColorMode : uint8_t { - kCurrentHueAndCurrentSaturation = ColorModeEnum::kCurrentHueAndCurrentSaturation - kCurrentXAndCurrentY = ColorModeEnum::kCurrentXAndCurrentY - kColorTemperature = ColorModeEnum::kColorTemperatureMireds - kUnknownEnumValue = ColorModeEnum::kUnknownEnumValue + kCurrentHueAndCurrentSaturation = ColorModeEnum::kCurrentHueAndCurrentSaturation kCurrentXAndCurrentY = + ColorModeEnum::kCurrentXAndCurrentY kColorTemperature = ColorModeEnum::kColorTemperatureMireds kUnknownEnumValue = + ColorModeEnum::kUnknownEnumValue }; enum class HueDirection : uint8_t { - ShortestDistance = DirectionEnum::kShortest - LongestDistance = DirectionEnum::kLongest - Up = DirectionEnum::kUp - Down = DirectionEnum::kDown - kUnknownEnumValue = DirectionEnum::kUnknownEnumValue + ShortestDistance = DirectionEnum::kShortest LongestDistance = DirectionEnum::kLongest Up = DirectionEnum::kUp Down = + DirectionEnum::kDown kUnknownEnumValue = DirectionEnum::kUnknownEnumValue }; enum class ColorCapabilities : uint16_t { - ColorLoopSupported = ColorCapabilitiesBitmap::kColorLoop - ColorTemperatureSupported = ColorCapabilitiesBitmap::kColorTemperature - EnhancedHueSupported = ColorCapabilitiesBitmap::kEnhancedHue - HueSaturationSupported = ColorCapabilitiesBitmap::kHueSaturation - XYAttributesSupported = ColorCapabilitiesBitmap::kXy + ColorLoopSupported = ColorCapabilitiesBitmap::kColorLoop ColorTemperatureSupported = + ColorCapabilitiesBitmap::kColorTemperature EnhancedHueSupported = + ColorCapabilitiesBitmap::kEnhancedHue HueSaturationSupported = + ColorCapabilitiesBitmap::kHueSaturation XYAttributesSupported = ColorCapabilitiesBitmap::kXy }; enum class ColorLoopDirection : uint8_t { - DecrementHue = ColorLoopDirectionEnum::kDecrement - IncrementHue = ColorLoopDirectionEnum::kIncrement - kUnknownEnumValue = ColorLoopDirectionEnum::kUnknownEnumValue + DecrementHue = ColorLoopDirectionEnum::kDecrement IncrementHue = ColorLoopDirectionEnum::kIncrement kUnknownEnumValue = + ColorLoopDirectionEnum::kUnknownEnumValue }; using EnhancedColorMode = EnhancedColorModeEnum;