diff options
author | tmk <nobody@nowhere> | 2013-09-21 21:21:34 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-09-21 21:21:34 +0900 |
commit | b2c7529ec9dce2d1f32f0c3e228059092f5f2238 (patch) | |
tree | 09bd4f2647c174423f489ff8b4ddca8aca025159 /common/bootmagic.c | |
parent | 58ca7b904b4410416f6b7edf1051ec58f6cdb6c4 (diff) | |
download | qmk_firmware-b2c7529ec9dce2d1f32f0c3e228059092f5f2238.tar.gz |
Fix to bootmagic key configurable
Diffstat (limited to 'common/bootmagic.c')
-rw-r--r-- | common/bootmagic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/bootmagic.c b/common/bootmagic.c index 410dc6836..036d49044 100644 --- a/common/bootmagic.c +++ b/common/bootmagic.c @@ -18,8 +18,10 @@ void bootmagic(void) } /* do scans in case of bounce */ + print("boogmagic scan: ... "); uint8_t scan = 100; while (scan--) { matrix_scan(); _delay_ms(10); } + print("done.\n"); /* bootmagic skip */ if (bootmagic_scan_keycode(BOOTMAGIC_KEY_SKIP)) { @@ -53,7 +55,7 @@ void bootmagic(void) /* keymap config */ keymap_config.raw = eeconfig_read_keymap(); - if (bootmagic_scan_keycode(BOOTMAGIC_KEY_SWAP_CONTROL_CPASLOCK)) { + if (bootmagic_scan_keycode(BOOTMAGIC_KEY_SWAP_CONTROL_CAPSLOCK)) { keymap_config.swap_control_capslock = !keymap_config.swap_control_capslock; } if (bootmagic_scan_keycode(BOOTMAGIC_KEY_CAPSLOCK_TO_CONTROL)) { |