diff --git a/libraries/AP_HAL_ChibiOS/RCOutput_serial.cpp b/libraries/AP_HAL_ChibiOS/RCOutput_serial.cpp index db7acbfd463b6c..e51c74a9950964 100644 --- a/libraries/AP_HAL_ChibiOS/RCOutput_serial.cpp +++ b/libraries/AP_HAL_ChibiOS/RCOutput_serial.cpp @@ -156,8 +156,8 @@ void RCOutput::update_channel_masks() { return; } -#if HAL_PWM_COUNT > 0 - for (uint8_t i=chan_offset; i 0 + for (uint8_t i=0; i