diff --git a/libraries/AP_HAL_PX4/RCOutput.cpp b/libraries/AP_HAL_PX4/RCOutput.cpp
index 0aec41e8c754d2c3c3a435054ed3461e87be8897..03b1fdd6bbf60165df22ced9766ab2bfee030b5a 100644
--- a/libraries/AP_HAL_PX4/RCOutput.cpp
+++ b/libraries/AP_HAL_PX4/RCOutput.cpp
@@ -142,7 +142,7 @@ void PX4RCOutput::enable_ch(uint8_t ch)
     if (ch >= PX4_NUM_OUTPUT_CHANNELS) {
         return;
     }
-    else if (ch >= 8 && !(_enabled_channels & (1U<<ch))) {
+    if (ch >= 8 && !(_enabled_channels & (1U<<ch))) {
         // this is the first enable of an auxillary channel - setup
         // aux channels now. This delayed setup makes it possible to
         // use BRD_PWM_COUNT to setup the number of PWM channels.