Copter: removed unusued variable

This commit is contained in:
Andrew Tridgell 2013-01-02 09:54:09 +11:00
parent 8c0d1d7084
commit 51d987a890
1 changed files with 0 additions and 1 deletions

View File

@ -988,7 +988,6 @@ get_throttle_rate(int16_t z_target_speed)
static void static void
get_throttle_althold(int32_t target_alt, int16_t min_climb_rate, int16_t max_climb_rate) get_throttle_althold(int32_t target_alt, int16_t min_climb_rate, int16_t max_climb_rate)
{ {
int32_t _altitude_error;
int16_t desired_rate; int16_t desired_rate;
int32_t linear_distance; // the distace we swap between linear and sqrt. int32_t linear_distance; // the distace we swap between linear and sqrt.