Browse Source

Copter: remove unused circle_desired_rotations

desired num rotations is already held in command so we save 1byte of RAM
mission-4.1.18
Randy Mackay 11 years ago
parent
commit
d2dad1b2c1
  1. 3
      ArduCopter/ArduCopter.pde

3
ArduCopter/ArduCopter.pde

@ -546,9 +546,8 @@ static int16_t desired_climb_rate; // pilot desired climb rate - for lo @@ -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

Loading…
Cancel
Save