mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: don't call internalerror for iomcu
This commit is contained in:
parent
f7c00c506e
commit
2476927048
|
@ -209,9 +209,11 @@ static void main_loop()
|
||||||
stm32_watchdog_init();
|
stm32_watchdog_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef IOMCU_FW
|
||||||
if (hal.util->was_watchdog_reset()) {
|
if (hal.util->was_watchdog_reset()) {
|
||||||
AP::internalerror().error(AP_InternalError::error_t::watchdog_reset);
|
AP::internalerror().error(AP_InternalError::error_t::watchdog_reset);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
g_callbacks->loop();
|
g_callbacks->loop();
|
||||||
|
|
Loading…
Reference in New Issue