BootCmd should be always high

This commit is contained in:
Bertrand Songis
2019-05-07 11:17:51 +02:00
parent 8819259144
commit f1867cccb2
6 changed files with 41 additions and 7 deletions
@@ -70,6 +70,7 @@ set(BOOTLOADER_SRC
../../../../../targets/${TARGET_DIR}/backlight_driver.cpp
../../../../../targets/${TARGET_DIR}/keys_driver.cpp
../../../../../targets/${TARGET_DIR}/diskio.cpp
../../../../../targets/${TARGET_DIR}/board_preinit.cpp
../../../../../targets/${TARGET_DIR}/pwr_driver.cpp
../../../../../targets/${TARGET_DIR}/bootloader/boot_menu.cpp
../usbd_usr.cpp
@@ -219,6 +219,8 @@ int main()
rotaryEncoderInit();
#endif
boardPreInit();
// wait for inputs to stabilize
for (uint32_t i = 0; i < 50000; i += 1) {
wdt_reset();