AP_HAL_ChibiOS: don't throw an internal error on mismatched cork/push

This commit is contained in:
Andy Piper 2024-12-09 10:32:36 +00:00 committed by Peter Hall
parent 1d6d11283e
commit af0fe69085
1 changed files with 0 additions and 3 deletions

View File

@ -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) {