summaryrefslogtreecommitdiff
path: root/src/kernel/ao_pyro.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-27 11:05:02 -0700
committerKeith Packard <keithp@keithp.com>2014-05-27 11:06:49 -0700
commitc674a20432c2cb97e5bc2a3de891f78b9e172fe9 (patch)
tree233840c888520c39da96f0eee2eca738ab4e9096 /src/kernel/ao_pyro.h
parentdb08e99361d82de63058d3388823f486e5fc9839 (diff)
altos: Fake flight code changes in kernel and stm
Redirects data input from local sensors to USB sourced data, leaving USB enabled when the computer goes into pad mode. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao_pyro.h')
-rw-r--r--src/kernel/ao_pyro.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kernel/ao_pyro.h b/src/kernel/ao_pyro.h
index 0c5642d6..34c99078 100644
--- a/src/kernel/ao_pyro.h
+++ b/src/kernel/ao_pyro.h
@@ -45,7 +45,11 @@ enum ao_pyro_flag {
ao_pyro_state_less = 0x00004000,
ao_pyro_state_greater_or_equal = 0x00008000,
-};
+}
+#ifdef __GNUC__
+ __attribute__ ((packed))
+#endif
+ ;
struct ao_pyro {
enum ao_pyro_flag flags;