Skip to content

Commit

Permalink
AP_Motors: Change to pass-through
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and peterbarker committed Sep 10, 2024
1 parent 1542290 commit ec75541
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions libraries/AP_Motors/AP_MotorsCoax.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,27 +224,17 @@ void AP_MotorsCoax::_output_test_seq(uint8_t motor_seq, int16_t pwm)
switch (motor_seq) {
case 1:
// flap servo 1
rc_write(AP_MOTORS_MOT_1, pwm);
break;
case 2:
// flap servo 2
rc_write(AP_MOTORS_MOT_2, pwm);
break;
case 3:
// flap servo 3
rc_write(AP_MOTORS_MOT_3, pwm);
break;
case 4:
// flap servo 4
rc_write(AP_MOTORS_MOT_4, pwm);
break;
case 5:
// motor 1
rc_write(AP_MOTORS_MOT_5, pwm);
break;
case 6:
// motor 2
rc_write(AP_MOTORS_MOT_6, pwm);
rc_write(motor_seq - 1u, pwm);
break;
default:
// do nothing
Expand Down

0 comments on commit ec75541

Please sign in to comment.