Copter: rename set_servos_4 to motors_output

This commit is contained in:
Randy Mackay 2015-01-21 20:20:05 +09:00
parent 3550e52560
commit 64af4ff923
2 changed files with 4 additions and 8 deletions

View File

@ -970,9 +970,8 @@ static void fast_loop()
update_heli_control_dynamics();
#endif //HELI_FRAME
// write out the servo PWM values
// ------------------------------
set_servos_4();
// send outputs to the motors library
motors_output();
// Inertial Nav
// --------------------

View File

@ -684,11 +684,8 @@ static void init_disarm_motors()
ahrs.set_armed(false);
}
/*****************************************
* Set the flight control servos based on the current calculated values
*****************************************/
static void
set_servos_4()
// motors_output - send output to motors library which will adjust and send to ESCs and servos
static void motors_output()
{
// check if we are performing the motor test
if (ap.motor_test) {