diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2018-02-10 23:09:03 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-02-10 17:13:38 -0500 |
commit | 8c2ae4a4701439e98569dc2f2acee7016b4c0f20 (patch) | |
tree | 835e57a8f18b7a8259f24bbd5d8a3c784e843688 /keyboards/clueboard/60/boards/GENERIC_STM32_F303XC/board.c | |
parent | fca31693df15f62cc3fd5851a0d1bae40eb179c2 (diff) |
Fix reset for STM32 devices
Diffstat (limited to 'keyboards/clueboard/60/boards/GENERIC_STM32_F303XC/board.c')
-rw-r--r-- | keyboards/clueboard/60/boards/GENERIC_STM32_F303XC/board.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/clueboard/60/boards/GENERIC_STM32_F303XC/board.c b/keyboards/clueboard/60/boards/GENERIC_STM32_F303XC/board.c index 897f20a887..4331155df4 100644 --- a/keyboards/clueboard/60/boards/GENERIC_STM32_F303XC/board.c +++ b/keyboards/clueboard/60/boards/GENERIC_STM32_F303XC/board.c @@ -62,13 +62,15 @@ const PALConfig pal_default_config = { }; #endif +void enter_bootloader_mode_if_requested(void); + /** * @brief Early initialization code. * @details This initialization must be performed just after stack setup * and before any other initialization. */ void __early_init(void) { - + enter_bootloader_mode_if_requested(); stm32_clock_init(); } |