AP_Bootloader: add option to disable Watchdog

This commit is contained in:
Siddharth Purohit 2021-06-19 21:49:57 +05:30 committed by Andrew Tridgell
parent 3ed53c58e9
commit 6d76990c1e

View File

@ -241,7 +241,9 @@ jump_to_app()
// watchdog reset and the firmware hasn't changed the RTC flag to
// indicate that it has been running OK for 30s then we will stay
// in bootloader
#ifndef DISABLE_WATCHDOG
stm32_watchdog_init();
#endif
stm32_watchdog_pat();
#endif