Copter: Tradheli: eliminate motors.set_dt

This commit is contained in:
Robert Lefebvre 2015-05-28 15:16:09 -04:00 committed by Randy Mackay
parent 65ca09600c
commit a8c4274db4
1 changed files with 1 additions and 3 deletions

View File

@ -16,9 +16,7 @@ static int8_t heli_dynamic_flight_counter;
// heli_init - perform any special initialisation required for the tradheli
static void heli_init()
{
motors.set_dt(MAIN_LOOP_SECONDS);
// force recalculation of RSC ramp rates after setting _dt
motors.recalc_scalers();
// Nothing in here for now. To-Do: Eliminate this function completely?
}
// get_pilot_desired_collective - converts pilot input (from 0 ~ 1000) to a value that can be fed into the channel_throttle->servo_out function