summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2011-01-07 20:52:33 -0800
committerKeith Packard <keithp@keithp.com>2011-01-07 20:52:33 -0800
commit57de960b8148bf485607898c3d66af6994d76481 (patch)
tree6f5caaa8b3c1612adcc6847ea914a8629750b5cf
parentca66f86a899c191b6362a334417fc84a79349677 (diff)
altos: Remove unused accel_vel_mach and accel_vel_boost variables
Presumably left-over debugging code. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/ao_flight.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ao_flight.c b/src/ao_flight.c
index 980c16be..5567d87f 100644
--- a/src/ao_flight.c
+++ b/src/ao_flight.c
@@ -84,9 +84,6 @@ __xdata uint8_t ao_flight_force_idle;
#define ACCEL_VEL_MACH VEL_MPS_TO_COUNT(200)
#define ACCEL_VEL_BOOST VEL_MPS_TO_COUNT(5)
-int32_t accel_vel_mach;
-int32_t accel_vel_boost;
-
/*
* Barometer calibration
*
@@ -214,8 +211,6 @@ ao_flight(void)
ao_config_get();
ao_main_pres = ao_altitude_to_pres(ao_pres_to_altitude(ao_ground_pres) + ao_config.main_deploy);
ao_accel_2g = ao_config.accel_minus_g - ao_config.accel_plus_g;
- accel_vel_mach = ACCEL_VEL_MACH;
- accel_vel_boost = ACCEL_VEL_BOOST;
ao_flight_vel = 0;
ao_min_vel = 0;
ao_old_vel = ao_flight_vel;