diff options
author | Joel Challis <[email protected]> | 2024-04-08 02:56:46 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-08 02:56:46 +0100 |
commit | ad8d934d3cb325d5ad2ed98167a8aa869ccc5e9e (patch) | |
tree | ae7808dfc856ca9782309ee62d471b7eaedbde6f /keyboards/lfkeyboards/lfk87 | |
parent | 11deaf60b43235acc15aa7c8b1e901cba78503e6 (diff) | |
download | qmk_firmware-ad8d934d3cb325d5ad2ed98167a8aa869ccc5e9e.tar.gz qmk_firmware-ad8d934d3cb325d5ad2ed98167a8aa869ccc5e9e.zip |
Tidy up default layer handling in keymaps (#23436)
Diffstat (limited to 'keyboards/lfkeyboards/lfk87')
-rw-r--r-- | keyboards/lfkeyboards/lfk87/keymaps/default/keymap.c | 8 | ||||
-rw-r--r-- | keyboards/lfkeyboards/lfk87/keymaps/iso/keymap.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/lfkeyboards/lfk87/keymaps/default/keymap.c b/keyboards/lfkeyboards/lfk87/keymaps/default/keymap.c index b9057e9047..84e4fbb59f 100644 --- a/keyboards/lfkeyboards/lfk87/keymaps/default/keymap.c +++ b/keyboards/lfkeyboards/lfk87/keymaps/default/keymap.c @@ -79,11 +79,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, RGB_SAD, RGB_HUD, RGB_SAI ) }; - -void matrix_init_user(void) { - // This keymap only has a single base layer, so reset the default if needed - if (eeconfig_read_default_layer() > 1) { - eeconfig_update_default_layer(1); - default_layer_set(1); - } -} diff --git a/keyboards/lfkeyboards/lfk87/keymaps/iso/keymap.c b/keyboards/lfkeyboards/lfk87/keymaps/iso/keymap.c index 510aa6730f..46286c3f32 100644 --- a/keyboards/lfkeyboards/lfk87/keymaps/iso/keymap.c +++ b/keyboards/lfkeyboards/lfk87/keymaps/iso/keymap.c @@ -79,11 +79,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_SAD, RGB_HUD, RGB_SAI ) }; - -void matrix_init_user(void) { - // This keymap only has a single base layer, so reset the default if needed - if (eeconfig_read_default_layer() > 1) { - eeconfig_update_default_layer(1); - default_layer_set(1); - } -} |