summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xquantum/light_ws2812.c1
-rw-r--r--tmk_core/protocol/lufa/lufa.c5
2 files changed, 3 insertions, 3 deletions
diff --git a/quantum/light_ws2812.c b/quantum/light_ws2812.c
index 6edbc0f2b..aac058f53 100755
--- a/quantum/light_ws2812.c
+++ b/quantum/light_ws2812.c
@@ -171,7 +171,6 @@ void inline ws2812_setleds_rgbw(LED_TYPE *ledarray, uint16_t leds)
}
I2C_Stop();
SREG=sreg_prev;
- // TWCR = (1<<TWINT) | (1<<TWSTA) | (1<<TWEN);
TWCR=twcr_prev;
#endif
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index fe466f604..b628cde37 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -1043,12 +1043,13 @@ int main(void)
}
#endif
+ keyboard_task();
+
#ifdef MIDI_ENABLE
midi_device_process(&midi_device);
// MIDI_Task();
#endif
- keyboard_task();
-
+
#ifdef RGBLIGHT_ENABLE
rgblight_task();
#endif