Move momentum decay task out of rgblight_task()

This commit is contained in:
Chris Lewis
2018-08-23 22:05:13 +10:00
parent e4da94bda9
commit c1900d541e
2 changed files with 2 additions and 3 deletions
+2
View File
@@ -1074,6 +1074,8 @@ int main(void)
MIDI_Device_USBTask(&USB_MIDI_Interface);
#endif
if (momentum_enabled()) momentum_decay_task();
#if defined(RGBLIGHT_ANIMATIONS) & defined(RGBLIGHT_ENABLE)
rgblight_task();
#endif