mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: don't throw an internal error on mismatched cork/push
This commit is contained in:
parent
1d6d11283e
commit
af0fe69085
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue