AP_HAL_ChibiOS: ensure dshot commands are send to all FMU channels when IOMCU is present

This commit is contained in:
Andy Piper 2023-12-16 11:25:43 +00:00 committed by Andrew Tridgell
parent 1fb6205439
commit ea76c0bd01
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ void RCOutput::update_channel_masks() {
}
#if HAL_PWM_COUNT > 0
for (uint8_t i=0; i<HAL_PWM_COUNT; i++) {
for (uint8_t i=chan_offset; i<HAL_PWM_COUNT+chan_offset; i++) {
switch (_dshot_esc_type) {
case DSHOT_ESC_BLHELI:
case DSHOT_ESC_BLHELI_S: