summaryrefslogtreecommitdiff
path: root/src/kernel/ao_cmd.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/kernel/ao_cmd.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/kernel/ao_cmd.c')
-rw-r--r--src/kernel/ao_cmd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/ao_cmd.c b/src/kernel/ao_cmd.c
index 0052bdce..d2f583ef 100644
--- a/src/kernel/ao_cmd.c
+++ b/src/kernel/ao_cmd.c
@@ -290,6 +290,9 @@ version(void)
#if defined(AO_BOOT_APPLICATION_BASE) && defined(AO_BOOT_APPLICATION_BOUND)
"program-space %u\n"
#endif
+#if AO_VALUE_32
+ "altitude-32 1\n"
+#endif
, ao_manufacturer
, ao_product
, ao_serial_number