Skip to content

Commit

Permalink
AP_HAL_ChibiOS: ensure dshot commands are send to all FMU channels wh…
Browse files Browse the repository at this point in the history
…en IOMCU is present
  • Loading branch information
andyp1per authored and tridge committed Dec 18, 2023
1 parent 1fb6205 commit ea76c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/RCOutput_serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ea76c0b

Please sign in to comment.