diff options
Diffstat (limited to 'keyboards/m10a')
-rw-r--r-- | keyboards/m10a/config.h | 1 | ||||
-rw-r--r-- | keyboards/m10a/keymaps/gam3cat/keymap.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/m10a/config.h b/keyboards/m10a/config.h index a04f8e4025..8a5b36f4fe 100644 --- a/keyboards/m10a/config.h +++ b/keyboards/m10a/config.h @@ -27,7 +27,6 @@ /* Planck PCB default pin-out */ #define MATRIX_ROW_PINS { B6, F7, F6, D6 } #define MATRIX_COL_PINS { F5, F1, F0 } -#define UNUSED_PINS #define BACKLIGHT_PIN B7 diff --git a/keyboards/m10a/keymaps/gam3cat/keymap.c b/keyboards/m10a/keymaps/gam3cat/keymap.c index f962246ef3..86231f8406 100644 --- a/keyboards/m10a/keymaps/gam3cat/keymap.c +++ b/keyboards/m10a/keymaps/gam3cat/keymap.c @@ -115,7 +115,7 @@ void matrix_scan_user(void) { } layer_state_t layer_state_set_user(layer_state_t state) { - switch (biton32(state)) { + switch (get_highest_layer(state)) { case _L0: custom_backlight_level(0); break; |