Allow AnnePro2 to reboot (#24886)

Without this, the QK_REBOOT key did nothing.
This commit is contained in:
Geoffrey Frogeye 2025-03-28 10:19:07 +01:00 committed by GitHub
parent 6f3b494a4d
commit 25fb4a498a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,6 +48,11 @@ ble_capslock_t ble_capslock = {._dummy = {0}, .caps_lock = false};
static uint8_t led_enabled = 1;
#endif
void mcu_reset(void) {
__disable_irq();
NVIC_SystemReset();
}
void bootloader_jump(void) {
// Send msg to shine to boot into IAP
ap2_set_IAP();