Decrease LED refresh rate

This decreases the rate at which LEDs get updated from ~60Hz to ~30Hz, which should be
fast enough that human eyes won't be able to tell the difference.

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/593/head
Michael Richters 6 years ago
parent e2423fa793
commit 764a2457ab
No known key found for this signature in database
GPG Key ID: C40C181A55000EF6

@ -22,7 +22,7 @@ namespace plugin {
LEDMode *LEDControl::modes[LED_MAX_MODES];
uint8_t LEDControl::mode;
uint16_t LEDControl::syncDelay = 16;
uint16_t LEDControl::syncDelay = 32; // 32ms interval => 30Hz refresh rate
uint16_t LEDControl::syncTimer;
bool LEDControl::paused = false;

Loading…
Cancel
Save