HAL_ChibiOS: enable reporting of watchdog reset on AP_Periph
This commit is contained in:
parent
0c2770a8d4
commit
3ba46d5bd9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user