From af0fe690856907217175b539f3d836091a793278 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Mon, 9 Dec 2024 10:32:36 +0000 Subject: [PATCH] AP_HAL_ChibiOS: don't throw an internal error on mismatched cork/push --- libraries/AP_HAL_ChibiOS/RCOutput.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/RCOutput.cpp b/libraries/AP_HAL_ChibiOS/RCOutput.cpp index 5d4274ac706a4..96fb4e1b8870f 100644 --- a/libraries/AP_HAL_ChibiOS/RCOutput.cpp +++ b/libraries/AP_HAL_ChibiOS/RCOutput.cpp @@ -1329,9 +1329,6 @@ bool RCOutput::get_output_mode_banner(char banner_msg[], uint8_t banner_msg_len) */ void RCOutput::cork(void) { - if (corked) { - INTERNAL_ERROR(AP_InternalError::error_t::flow_of_control); - } corked = true; #if HAL_WITH_IO_MCU if (iomcu_enabled) {