summaryrefslogtreecommitdiff
path: root/src/test/ao_micropeak_test.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-10 17:18:38 -0700
committerKeith Packard <keithp@keithp.com>2014-07-10 17:35:44 -0700
commit013e9ccfbe76dc46e8c69ea314950bed83d9a39f (patch)
tree5cc6ca1679f23e89074bd65457f74d8ce31aaf13 /src/test/ao_micropeak_test.c
parent31ae24b5da3e198e7555ea3768d3cbdec3a28a5f (diff)
altos: Use 32-bits for flight state data (alt/speed/accel)
Stores 32-bits for all of the flight parameters. Uses 64-bit intermediates for kalman computation. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test/ao_micropeak_test.c')
-rw-r--r--src/test/ao_micropeak_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ao_micropeak_test.c b/src/test/ao_micropeak_test.c
index 5961bd93..f4af707e 100644
--- a/src/test/ao_micropeak_test.c
+++ b/src/test/ao_micropeak_test.c
@@ -33,6 +33,7 @@ uint8_t ao_flight_debug;
#define AO_FLIGHT_TEST
typedef int32_t alt_t;
+typedef int32_t pres_t;
#define AO_MS_TO_TICKS(ms) ((ms) / 10)