Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and Thirsrin committed Aug 21, 2024
1 parent eb93c51 commit 8dec909
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions src/app/common/CompatEnumNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8dec909

Please sign in to comment.