diff options
| author | Andrew Litt | 2025-06-27 21:11:43 +0200 |
|---|---|---|
| committer | GitHub | 2025-06-27 21:11:43 +0200 |
| commit | 6e55870a82e8cfecd379242fd58829b37fa8ffa4 (patch) | |
| tree | 592ac2d5028b6756d19a3694092a77ada992fe65 | |
| parent | e15d9ca4b3329c5c97f920547c086ad768ec3808 (diff) | |
`inland/kb83`: Remove unnecessary EEPROM write (#25401)
There's no reason to save the base layer to EEPROM when the base layer
is set based on DIP switch.
| -rw-r--r-- | keyboards/inland/kb83/kb83.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/keyboards/inland/kb83/kb83.c b/keyboards/inland/kb83/kb83.c index 41a3ad8df7..07d8bdbdb4 100644 --- a/keyboards/inland/kb83/kb83.c +++ b/keyboards/inland/kb83/kb83.c @@ -313,11 +313,7 @@ bool dip_switch_update_kb(uint8_t index, bool active) { return false; } if (index == 0) { - default_layer_set(1UL << (active ? 2 : 0)); - } - if(active){ - keymap_config.no_gui = 0; - eeconfig_update_keymap(&keymap_config); + default_layer_set(1UL << (active ? MAC_B : WIN_B)); } return true; } |