diff --git a/libraries/AP_HAL_PX4/RCOutput.cpp b/libraries/AP_HAL_PX4/RCOutput.cpp index 3b295b97a8421345c20bc12e350889aa9e0bd002..0aec41e8c754d2c3c3a435054ed3461e87be8897 100644 --- a/libraries/AP_HAL_PX4/RCOutput.cpp +++ b/libraries/AP_HAL_PX4/RCOutput.cpp @@ -149,7 +149,9 @@ void PX4RCOutput::enable_ch(uint8_t ch) _init_alt_channels(); } _enabled_channels |= (1U<<ch); - _period[ch] = 0; + if (_period[ch] == PWM_IGNORE_THIS_CHANNEL) { + _period[ch] = 0; + } } void PX4RCOutput::disable_ch(uint8_t ch)