projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Make serial, usb, beeper and accelerometer optional components
[fw/altos]
/
src
/
ao_flight_test.c
diff --git
a/src/ao_flight_test.c
b/src/ao_flight_test.c
index 8ce94895026213b2954124d7f548d733030fb6d7..e75bc8df348f5ca8dc240aaaaed6a8900f880d73 100644
(file)
--- a/
src/ao_flight_test.c
+++ b/
src/ao_flight_test.c
@@
-114,7
+114,6
@@
const char const * const ao_state_names[] = {
};
struct ao_cmds {
};
struct ao_cmds {
- char cmd;
void (*func)(void);
const char *help;
};
void (*func)(void);
const char *help;
};
@@
-156,6
+155,15
@@
struct ao_config ao_config;
#define DATA_TO_XDATA(x) (x)
#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
#include "ao_flight.c"
void