From 2476927048baa28ea7494c73a5da763536343039 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 20 Apr 2019 13:27:52 +1000 Subject: [PATCH] HAL_ChibiOS: don't call internalerror for iomcu --- libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp b/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp index 734f778957..7664c4a9d9 100644 --- a/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp +++ b/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp @@ -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();