diff options
author | Keith Packard <keithp@keithp.com> | 2012-07-16 15:25:47 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-16 15:25:47 -0700 |
commit | 1887ca3d7d4a0259686f8c1e68d1e47c47b4ab84 (patch) | |
tree | d9c837107585a77467956b5876c940cd77ce7527 /src/core/ao_flight.c | |
parent | 90507d4f7ef77b0870a032b1d9809898c2924721 (diff) |
altos: Pass flight dynamics to companion boards
Necessary for TelePyro
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_flight.c')
-rw-r--r-- | src/core/ao_flight.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/ao_flight.c b/src/core/ao_flight.c index fc018f00..aa4f6961 100644 --- a/src/core/ao_flight.c +++ b/src/core/ao_flight.c @@ -40,9 +40,7 @@ __pdata enum ao_flight_state ao_flight_state; /* current flight state */ __pdata uint16_t ao_boost_tick; /* time of launch detect */ -#if AO_PYRO_NUM __pdata uint16_t ao_motor_number; /* number of motors burned so far */ -#endif /* * track min/max data over a long interval to detect @@ -218,9 +216,7 @@ ao_flight(void) #else ao_flight_state = ao_flight_coast; #endif -#if AO_PYRO_NUM ++ao_motor_number; -#endif ao_wakeup(DATA_TO_XDATA(&ao_flight_state)); } break; |