diff options
author | Nick Brassel <[email protected]> | 2022-02-07 14:09:21 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-02-06 19:09:21 -0800 |
commit | a86d6fffc950242f412e05a6a0aed8beede01ba4 (patch) | |
tree | c99bd067b88e74458677df79a58bd80c01003aa3 /keyboards/jm60/jm60.c | |
parent | 53a73066828bb528610e8d02bd4a6f008c9c33d7 (diff) | |
download | qmk_firmware-a86d6fffc950242f412e05a6a0aed8beede01ba4.tar.gz qmk_firmware-a86d6fffc950242f412e05a6a0aed8beede01ba4.zip |
Fixup bootloaders. (#16256)
Diffstat (limited to 'keyboards/jm60/jm60.c')
-rw-r--r-- | keyboards/jm60/jm60.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/jm60/jm60.c b/keyboards/jm60/jm60.c index f7b434f30e..823892dce9 100644 --- a/keyboards/jm60/jm60.c +++ b/keyboards/jm60/jm60.c @@ -20,3 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. void board_init(void) { AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; } + +void bootloader_jump(void) { + // This board doesn't use the "standard" stm32duino bootloader. There's no information on how to jump to the custom bootloader, so all we can do here is reset. + NVIC_SystemReset(); +} |