From 3ba46d5bd99aa5706d84d2edca66f442b529ecb0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 Nov 2020 10:15:50 +1100 Subject: [PATCH] HAL_ChibiOS: enable reporting of watchdog reset on AP_Periph --- libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp b/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp index ecbdf133c5..cb0e67fafb 100644 --- a/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp +++ b/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp @@ -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();