Skip to content

Commit

Permalink
fix conditional (#25950)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs authored and pull[bot] committed Oct 19, 2023
1 parent d496282 commit 2428480
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ bool ColorControlServer::colorLoopCommand(app::CommandHandler * commandObj, cons

deactiveColorLoop = updateFlags.Has(ColorLoopUpdateFlags::kUpdateAction) && (action == ColorLoopAction::kDeactivate);

if (updateFlags.Has(ColorLoopUpdateFlags::kUpdateAction))
if (updateFlags.Has(ColorLoopUpdateFlags::kUpdateDirection))
{
Attributes::ColorLoopDirection::Set(endpoint, to_underlying(direction));

Expand Down

0 comments on commit 2428480

Please sign in to comment.