Copter: remove unused circle_desired_rotations

desired num rotations is already held in command so we save 1byte of RAM
This commit is contained in:
Randy Mackay 2014-04-16 16:24:09 +09:00
parent e6d2692eab
commit d2dad1b2c1

View File

@ -546,9 +546,8 @@ static int16_t desired_climb_rate; // pilot desired climb rate - for lo
static float acro_level_mix; // scales back roll, pitch and yaw inversely proportional to input from pilot
////////////////////////////////////////////////////////////////////////////////
// Circle Mode / Loiter control
// Loiter control
////////////////////////////////////////////////////////////////////////////////
static uint8_t circle_desired_rotations; // how many times to circle as specified by mission command
static uint16_t loiter_time_max; // How long we should stay in Loiter Mode for mission scripting (time in seconds)
static uint32_t loiter_time; // How long have we been loitering - The start time in millis