diff --git a/src/app/common/CompatEnumNames.h b/src/app/common/CompatEnumNames.h index 7427e4eaba2515..604a1f13ebe8fb 100644 --- a/src/app/common/CompatEnumNames.h +++ b/src/app/common/CompatEnumNames.h @@ -84,29 +84,35 @@ 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;