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 0c2006d54907c6ac90f8c997a194ea4c1759cff4..e75bc8df348f5ca8dc240aaaaed6a8900f880d73 100644
(file)
--- a/
src/ao_flight_test.c
+++ b/
src/ao_flight_test.c
@@
-155,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