Fix debug parameter setting in eeconfig
This commit is contained in:
parent
1d5bbb55f2
commit
d055e0633e
5 changed files with 31 additions and 12 deletions
|
@ -10,12 +10,12 @@
|
|||
|
||||
void bootmagic(void)
|
||||
{
|
||||
if (!BOOTMAGIC_IS_ENABLED()) { return; }
|
||||
|
||||
/* do scans in case of bounce */
|
||||
uint8_t scan = 100;
|
||||
while (scan--) { matrix_scan(); _delay_ms(1); }
|
||||
|
||||
if (!BOOTMAGIC_IS_ENABLE()) { return; }
|
||||
|
||||
if (bootmagic_scan_keycode(BOOTMAGIC_BOOTLOADER_KEY)) {
|
||||
bootloader_jump();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue