summaryrefslogtreecommitdiff
path: root/src/kernel/ao_data.h
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/kernel/ao_data.h
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/kernel/ao_data.h')
-rw-r--r--src/kernel/ao_data.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/kernel/ao_data.h b/src/kernel/ao_data.h
index c4b062fd..8f75ad87 100644
--- a/src/kernel/ao_data.h
+++ b/src/kernel/ao_data.h
@@ -117,9 +117,7 @@ extern volatile __data uint8_t ao_data_count;
typedef int32_t pres_t;
-#ifndef AO_ALT_TYPE
#define AO_ALT_TYPE int32_t
-#endif
typedef AO_ALT_TYPE alt_t;
@@ -146,10 +144,6 @@ typedef int16_t alt_t;
#endif
-#if !HAS_BARO
-typedef int16_t alt_t;
-#endif
-
/*
* Need a few macros to pull data from the sensors:
*