mirror of https://github.com/ArduPilot/ardupilot
Copter: bug fix to Tricopter motor logging
Fourth motor taken from yaw channel's radio_out instead of random location in memory
This commit is contained in:
parent
8c9ab50ba2
commit
5cc8772947
|
@ -276,7 +276,7 @@ static void Log_Write_Motors()
|
|||
motor_out : {motors.motor_out[AP_MOTORS_MOT_1],
|
||||
motors.motor_out[AP_MOTORS_MOT_2],
|
||||
motors.motor_out[AP_MOTORS_MOT_4],
|
||||
motors.motor_out[g.rc_4.radio_out]}
|
||||
g.rc_4.radio_out}
|
||||
#else // QUAD frame
|
||||
motor_out : {motors.motor_out[AP_MOTORS_MOT_1],
|
||||
motors.motor_out[AP_MOTORS_MOT_2],
|
||||
|
|
Loading…
Reference in New Issue