mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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)
|
void RCOutput::cork(void)
|
||||||
{
|
{
|
||||||
if (corked) {
|
|
||||||
INTERNAL_ERROR(AP_InternalError::error_t::flow_of_control);
|
|
||||||
}
|
|
||||||
corked = true;
|
corked = true;
|
||||||
#if HAL_WITH_IO_MCU
|
#if HAL_WITH_IO_MCU
|
||||||
if (iomcu_enabled) {
|
if (iomcu_enabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user