HAL_ChibiOS: enable reporting of watchdog reset on AP_Periph

This commit is contained in:
Andrew Tridgell 2020-11-30 10:15:50 +11:00
parent 0c2770a8d4
commit 3ba46d5bd9

View File

@ -231,11 +231,9 @@ static void main_loop()
stm32_watchdog_init();
}
#ifndef HAL_NO_LOGGING
if (hal.util->was_watchdog_reset()) {
INTERNAL_ERROR(AP_InternalError::error_t::watchdog_reset);
}
#endif // HAL_NO_LOGGING
#endif // IOMCU_FW
schedulerInstance.watchdog_pat();