Use Kaleidoscope.millisAtCycleStart()

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/365/head
Gergely Nagy 6 years ago
parent 4e8b738521
commit 57f3ddd43a

@ -19,7 +19,7 @@
namespace kaleidoscope {
void LEDBreatheEffect::update(void) {
uint16_t now = millis();
uint16_t now = Kaleidoscope.millisAtCycleStart();
if ((now - last_update_) < UPDATE_INTERVAL)
return;
last_update_ = now;

Loading…
Cancel
Save