HAL_ChibiOS: don't call internalerror for iomcu

This commit is contained in:
Andrew Tridgell 2019-04-20 13:27:52 +10:00
parent f7c00c506e
commit 2476927048
1 changed files with 2 additions and 0 deletions

View File

@ -209,9 +209,11 @@ static void main_loop()
stm32_watchdog_init();
}
#ifndef IOMCU_FW
if (hal.util->was_watchdog_reset()) {
AP::internalerror().error(AP_InternalError::error_t::watchdog_reset);
}
#endif
while (true) {
g_callbacks->loop();