core: Fix BTLD action for tap key

This commit is contained in:
tmk 2021-03-06 23:00:04 +09:00
parent 9a2dd14ef8
commit 45c7057b3b

View file

@ -449,6 +449,11 @@ void register_code(uint8_t code)
else if IS_CONSUMER(code) {
host_consumer_send(KEYCODE2CONSUMER(code));
}
else if (code == KC_BOOTLOADER) {
clear_keyboard();
wait_ms(50);
bootloader_jump();
}
}
void unregister_code(uint8_t code)