diff --git a/libraries/AP_HAL_PX4/RCOutput.cpp b/libraries/AP_HAL_PX4/RCOutput.cpp index 08d4c9db43..7df5472c98 100644 --- a/libraries/AP_HAL_PX4/RCOutput.cpp +++ b/libraries/AP_HAL_PX4/RCOutput.cpp @@ -543,10 +543,12 @@ void PX4RCOutput::push() hal.gpio->pinMode(55, HAL_GPIO_OUTPUT); hal.gpio->write(55, 0); #endif - _corking = false; - if (_output_mode == MODE_PWM_ONESHOT) { - // run timer immediately in oneshot mode - _send_outputs(); + if (_corking) { + _corking = false; + if (_output_mode == MODE_PWM_ONESHOT) { + // run timer immediately in oneshot mode + _send_outputs(); + } } }