diff options
Diffstat (limited to 'keyboards/moonlander/moonlander.c')
-rw-r--r-- | keyboards/moonlander/moonlander.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c index e2e163f116..c1e858a00d 100644 --- a/keyboards/moonlander/moonlander.c +++ b/keyboards/moonlander/moonlander.c @@ -85,6 +85,11 @@ void moonlander_led_task(void) { layer_state_set_kb(layer_state); } #endif +#if !defined(MOONLANDER_USER_LEDS) + else { + layer_state_set_kb(layer_state); + } +#endif } static THD_WORKING_AREA(waLEDThread, 128); @@ -96,6 +101,7 @@ static THD_FUNCTION(LEDThread, arg) { } } + void keyboard_pre_init_kb(void) { setPinOutput(B5); setPinOutput(B4); |