altos: Make serial, usb, beeper and accelerometer optional components
[fw/altos] / src / ao_flight_test.c
index 8ce94895026213b2954124d7f548d733030fb6d7..e75bc8df348f5ca8dc240aaaaed6a8900f880d73 100644 (file)
@@ -114,7 +114,6 @@ const char const * const ao_state_names[] = {
 };
 
 struct ao_cmds {
-       char            cmd;
        void            (*func)(void);
        const char      *help;
 };
@@ -156,6 +155,15 @@ struct ao_config ao_config;
 
 #define DATA_TO_XDATA(x) (x)
 
+#define HAS_FLIGHT 1
+#define HAS_ADC 1
+#define HAS_USB 1
+#define HAS_GPS 1
+#ifndef HAS_ACCEL
+#define HAS_ACCEL 1
+#endif
+#define HAS_ACCEL_REF 0
+
 #include "ao_flight.c"
 
 void