projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Sample the accelerometer reference voltage on v1.1 boards
[fw/altos]
/
src
/
ao_gps_test.c
diff --git
a/src/ao_gps_test.c
b/src/ao_gps_test.c
index fddfedfd075afe8ae70680803691f010b572aaf2..edb513047fda7aea4eeb8db808b4eb03df9ee473 100644
(file)
--- a/
src/ao_gps_test.c
+++ b/
src/ao_gps_test.c
@@
-62,9
+62,11
@@
struct ao_gps_sat_data {
uint8_t c_n_1;
};
uint8_t c_n_1;
};
+#define AO_MAX_GPS_TRACKING 12
+
struct ao_gps_tracking_data {
uint8_t channels;
struct ao_gps_tracking_data {
uint8_t channels;
- struct ao_gps_sat_data sats[
12
];
+ struct ao_gps_sat_data sats[
AO_MAX_GPS_TRACKING
];
};
void
};
void
@@
-400,6
+402,8
@@
ao_serial_set_speed(uint8_t speed)
tcflush(fd, TCIFLUSH);
}
tcflush(fd, TCIFLUSH);
}
+#define ao_time() 0
+
#include "ao_gps_print.c"
#include "ao_gps_sirf.c"
#include "ao_gps_print.c"
#include "ao_gps_sirf.c"