projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57de960
)
altos: Remove redundant initialization of ao_interval variables
author
Anthony Towns
<aj@erisian.com.au>
Sat, 8 Jan 2011 05:00:10 +0000
(21:00 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sat, 8 Jan 2011 05:00:10 +0000
(21:00 -0800)
These are all initialized in the ao_flight_drogue state transition.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_flight.c
patch
|
blob
|
history
diff --git
a/src/ao_flight.c
b/src/ao_flight.c
index 5567d87fdd4649eb041564ea18f30271339f2c63..7fe85cb1522ac786579b824cd714c97dc088d9f3 100644
(file)
--- 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");
}