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 Aug 22, 2023
1 parent 6320476 commit 1061132
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 1061132

Please sign in to comment.