diff options
author | Keith Packard <keithp@keithp.com> | 2011-03-28 17:54:44 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-28 17:54:44 -0700 |
commit | c754759a2d503633d527da4ebb20eb859cd506fd (patch) | |
tree | 75384610b018a5ae52ce4462a4109b5b344c7192 /src/ao_stdio.c | |
parent | 006de838bbb096b9443863a46b8a125b1e6b5600 (diff) |
altos: Split up flight code into separate flight/sample/kalman bits
The flight code mashed together data processing, filtering and actual
flight managament into one giant pile. Split things up so that we
have:
ao_sample.c: Sensor data processing. Reads the ring, handles calibration
ao_kalman.c: Filter the data to track the accel/speed/height values
ao_flight.c: Flight state management, specific to rocketry.
The plan is to re-use ao_sample.c and ao_kalman.c for hardware not
specifically designed for rocketry, like TeleNano.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_stdio.c')
-rw-r--r-- | src/ao_stdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_stdio.c b/src/ao_stdio.c index 78bbd3c3..6e1f5eff 100644 --- a/src/ao_stdio.c +++ b/src/ao_stdio.c @@ -66,7 +66,7 @@ getchar(void) __reentrant __critical void ao_add_stdio(char (*pollchar)(void), void (*putchar)(char), - void (*flush)(void)) + void (*flush)(void)) __reentrant { if (ao_num_stdios == AO_NUM_STDIOS) ao_panic(AO_PANIC_STDIO); |