summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2011-01-07 21:00:10 -0800
committerKeith Packard <keithp@keithp.com>2011-01-07 21:00:10 -0800
commitc437b14b7fc7afdfc7b809a04d7fa29d5e742307 (patch)
tree6415f16cc40248dbed7c56d39770dd9de02bf98b
parent57de960b8148bf485607898c3d66af6994d76481 (diff)
altos: Remove redundant initialization of ao_interval variables
These are all initialized in the ao_flight_drogue state transition. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/ao_flight.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ao_flight.c b/src/ao_flight.c
index 5567d87f..7fe85cb1 100644
--- a/src/ao_flight.c
+++ b/src/ao_flight.c
@@ -463,11 +463,5 @@ void
ao_flight_init(void)
{
ao_flight_state = ao_flight_startup;
- ao_interval_min_accel = 0;
- ao_interval_max_accel = 0x7fff;
- ao_interval_min_pres = 0;
- ao_interval_max_pres = 0x7fff;
- ao_interval_end = AO_INTERVAL_TICKS;
-
ao_add_task(&flight_task, ao_flight, "flight");
}