Skip to content

Commit 934bbf0

Browse files
committed
build error resolved
1 parent e186a75 commit 934bbf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ void ColorControlServer::startColorLoop(EndpointId endpoint, uint8_t startFromSt
10201020

10211021
colorHueTransitionState->initialEnhancedHue = startHue;
10221022

1023-
if (direction == to_underlying(ColorLoopDirection::kIncrement))
1023+
if (direction == to_underlying(ColorLoopDirection::IncrementHue))
10241024
{
10251025
colorHueTransitionState->finalEnhancedHue = static_cast<uint16_t>(startHue - 1);
10261026
}
@@ -1029,7 +1029,7 @@ void ColorControlServer::startColorLoop(EndpointId endpoint, uint8_t startFromSt
10291029
colorHueTransitionState->finalEnhancedHue = static_cast<uint16_t>(startHue + 1);
10301030
}
10311031

1032-
colorHueTransitionState->up = (direction == to_underlying(ColorLoopDirection::kIncrement));
1032+
colorHueTransitionState->up = (direction == to_underlying(ColorLoopDirection::IncrementHue));
10331033
colorHueTransitionState->repeat = true;
10341034

10351035
colorHueTransitionState->stepsRemaining = static_cast<uint16_t>(time * TRANSITION_STEPS_PER_1S);

0 commit comments

Comments
 (0)