Skip to content

Commit

Permalink
AP_HAL_ChibiOS: don't throw an internal error on mismatched cork/push
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per authored and IamPete1 committed Dec 9, 2024
1 parent 1d6d112 commit af0fe69
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libraries/AP_HAL_ChibiOS/RCOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit af0fe69

Please sign in to comment.