Rename icon files to fit XDG specifications. Add file icons. Add mime types
[fw/altos] / src / kernel / ao_pyro.h
index 0c5642d6ea91f2ff12e76c6b1321ff69882b3a4c..b37aaeb1707554559265ccee59ad0a5c3fee9e91 100644 (file)
@@ -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;
@@ -61,6 +65,8 @@ struct ao_pyro {
        uint8_t                 fired;
 };
 
+#define AO_PYRO_8_BIT_VALUE    (ao_pyro_state_less|ao_pyro_state_greater_or_equal)
+
 extern uint8_t ao_pyro_wakeup;
 
 extern uint16_t        ao_pyro_fired;