Skip to content

Commit

Permalink
hardware: fix blink effect on and off
Browse files Browse the repository at this point in the history
on_time and off_time were switched
  • Loading branch information
Piglit committed Aug 19, 2024
1 parent c767a61 commit 0509c29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hardware/hardwareMappingEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ float HardwareMappingEffectBlink::onActive()
timer.start(on ? on_time : off_time);
}
if (on)
return off_value;
else
return on_value;
else
return off_value;
}

void HardwareMappingEffectBlink::onInactive()
Expand Down

0 comments on commit 0509c29

Please sign in to comment.