Fix #1566 - NKRO reseting issue
This commit is contained in:
parent
d9c6e7487b
commit
34580baccf
|
@ -90,7 +90,6 @@ uint16_t keycode_config(uint16_t keycode) {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t mod_config(uint8_t mod) {
|
uint8_t mod_config(uint8_t mod) {
|
||||||
keymap_config.raw = eeconfig_read_keymap();
|
|
||||||
if (keymap_config.swap_lalt_lgui) {
|
if (keymap_config.swap_lalt_lgui) {
|
||||||
if ((mod & MOD_RGUI) == MOD_LGUI) {
|
if ((mod & MOD_RGUI) == MOD_LGUI) {
|
||||||
mod &= ~MOD_LGUI;
|
mod &= ~MOD_LGUI;
|
||||||
|
@ -115,4 +114,4 @@ uint8_t mod_config(uint8_t mod) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return mod;
|
return mod;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue