projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/scheme: swap BIGINT and STRING types
[fw/altos]
/
src
/
test
/
ao_flight_test.c
diff --git
a/src/test/ao_flight_test.c
b/src/test/ao_flight_test.c
index 298848d6a46b4a7921bd8fddb9ba4605020e3e25..2d862f82a944f5663281273bbcf52b1c45b859a7 100644
(file)
--- a/
src/test/ao_flight_test.c
+++ b/
src/test/ao_flight_test.c
@@
-25,6
+25,7
@@
#include <string.h>
#include <getopt.h>
#include <math.h>
#include <string.h>
#include <getopt.h>
#include <math.h>
+#define log ao_log_data
#define GRAVITY 9.80665
#define GRAVITY 9.80665
@@
-370,7
+371,7
@@
extern int16_t ao_accel_2g;
typedef int16_t accel_t;
uint16_t ao_serial_number;
typedef int16_t accel_t;
uint16_t ao_serial_number;
-
uint16_t
ao_flight_number;
+
int16_t
ao_flight_number;
extern uint16_t ao_sample_tick;
extern uint16_t ao_sample_tick;
@@
-998,7
+999,7
@@
main (int argc, char **argv)
#else
emulator_app="baro";
#endif
#else
emulator_app="baro";
#endif
- while ((c = getopt_long(argc, argv, "sdi:", options, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "sd
p
i:", options, NULL)) != -1) {
switch (c) {
case 's':
summary = 1;
switch (c) {
case 's':
summary = 1;
@@
-1006,6
+1007,11
@@
main (int argc, char **argv)
case 'd':
ao_flight_debug = 1;
break;
case 'd':
ao_flight_debug = 1;
break;
+ case 'p':
+#if PYRO_DBG
+ pyro_dbg = 1;
+#endif
+ break;
case 'i':
info = optarg;
break;
case 'i':
info = optarg;
break;