AP_Motor: removed redundant statements

This commit is contained in:
UbhayAnand1 2023-01-28 20:56:03 +05:30 committed by Randy Mackay
parent 5da7ad025b
commit bb05f40560
1 changed files with 0 additions and 4 deletions

View File

@ -107,10 +107,6 @@ void AP_MotorsSingle::output_to_motors()
uint32_t AP_MotorsSingle::get_motor_mask() uint32_t AP_MotorsSingle::get_motor_mask()
{ {
uint32_t motor_mask = uint32_t motor_mask =
1U << AP_MOTORS_MOT_1 |
1U << AP_MOTORS_MOT_2 |
1U << AP_MOTORS_MOT_3 |
1U << AP_MOTORS_MOT_4 |
1U << AP_MOTORS_MOT_5 | 1U << AP_MOTORS_MOT_5 |
1U << AP_MOTORS_MOT_6; 1U << AP_MOTORS_MOT_6;