diff options
| author | Nick Brassel | 2022-02-07 04:09:21 +0100 |
|---|---|---|
| committer | GitHub | 2022-02-07 04:09:21 +0100 |
| commit | a86d6fffc950242f412e05a6a0aed8beede01ba4 (patch) | |
| tree | c99bd067b88e74458677df79a58bd80c01003aa3 /keyboards/matrix/abelx/abelx.c | |
| parent | 53a73066828bb528610e8d02bd4a6f008c9c33d7 (diff) | |
Fixup bootloaders. (#16256)
Diffstat (limited to 'keyboards/matrix/abelx/abelx.c')
| -rw-r--r-- | keyboards/matrix/abelx/abelx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/matrix/abelx/abelx.c b/keyboards/matrix/abelx/abelx.c index 77e749ee40..9585948e0c 100644 --- a/keyboards/matrix/abelx/abelx.c +++ b/keyboards/matrix/abelx/abelx.c @@ -97,3 +97,8 @@ void shutdown_user(void) // set the magic number for resetting to the bootloader *(uint32_t *)(&(RTCD1.rtc->BKP0R)) = REBOOT_MAGIC; } + +void bootloader_jump(void) { + shutdown_user(); + NVIC_SystemReset(); +} |