diff options
Diffstat (limited to 'layouts/community/ortho_4x12/juno')
-rw-r--r-- | layouts/community/ortho_4x12/juno/config.h | 3 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/juno/keymap.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/layouts/community/ortho_4x12/juno/config.h b/layouts/community/ortho_4x12/juno/config.h index eae636c57e..81fc217278 100644 --- a/layouts/community/ortho_4x12/juno/config.h +++ b/layouts/community/ortho_4x12/juno/config.h @@ -14,9 +14,6 @@ * MIDI options */ -/* Prevent use of disabled MIDI features in the keymap */ -//#define MIDI_ENABLE_STRICT 1 - /* enable basic MIDI features: - MIDI notes can be sent when in Music mode is on */ 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; } |