diff options
author | Nick Brassel <nick@tzarc.org> | 2021-02-28 07:22:21 +1100 |
---|---|---|
committer | Nick Brassel <nick@tzarc.org> | 2021-02-28 07:22:21 +1100 |
commit | 1a5f6b54aff179732e3f4f4eb79e47454f0a1eb5 (patch) | |
tree | ebf645f55cb0442899c894765b1af4344fb734db /layouts/community/ortho_4x12/juno/keymap.c | |
parent | 804d5c1c5d59d9a12c1d793289ccbd59cb650ec2 (diff) | |
parent | 624359b725c9bfe8176cf72cdc2c8bbb7513949f (diff) |
2021 February 27 Breaking Changes Update (#12040)
Diffstat (limited to 'layouts/community/ortho_4x12/juno/keymap.c')
-rw-r--r-- | layouts/community/ortho_4x12/juno/keymap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/community/ortho_4x12/juno/keymap.c b/layouts/community/ortho_4x12/juno/keymap.c index a22c229e29..2b16b9955e 100644 --- a/layouts/community/ortho_4x12/juno/keymap.c +++ b/layouts/community/ortho_4x12/juno/keymap.c @@ -240,6 +240,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { layer_state_t layer_state_set_user(layer_state_t state) { // LED control, lighting up when Fn layer is activated state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); +# ifdef BACKLIGHT_ENABLE switch (get_highest_layer(state)) { case _QWERTY: backlight_set(0); @@ -251,6 +252,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { backlight_set(3); break; } +# endif return state; } |