mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
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) {
|
||||
keymap_config.raw = eeconfig_read_keymap();
|
||||
if (keymap_config.swap_lalt_lgui) {
|
||||
if ((mod & MOD_RGUI) == MOD_LGUI) {
|
||||
mod &= ~MOD_LGUI;
|
||||
|
@ -115,4 +114,4 @@ uint8_t mod_config(uint8_t mod) {
|
|||
}
|
||||
|
||||
return mod;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue