mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-26 00:51:29 +00:00
Allow AnnePro2 to reboot (#24886)
Without this, the QK_REBOOT key did nothing.
This commit is contained in:
parent
6f3b494a4d
commit
25fb4a498a
@ -48,6 +48,11 @@ ble_capslock_t ble_capslock = {._dummy = {0}, .caps_lock = false};
|
|||||||
static uint8_t led_enabled = 1;
|
static uint8_t led_enabled = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void mcu_reset(void) {
|
||||||
|
__disable_irq();
|
||||||
|
NVIC_SystemReset();
|
||||||
|
}
|
||||||
|
|
||||||
void bootloader_jump(void) {
|
void bootloader_jump(void) {
|
||||||
// Send msg to shine to boot into IAP
|
// Send msg to shine to boot into IAP
|
||||||
ap2_set_IAP();
|
ap2_set_IAP();
|
||||||
|
Loading…
Reference in New Issue
Block a user