diff options
author | Keith Packard <keithp@keithp.com> | 2010-02-13 16:42:27 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-02-13 16:42:27 -0800 |
commit | 876e9a10b9096ead85fbe08ec9a6a0329cf7cbd4 (patch) | |
tree | d87d21c73a2b91f094207fb8b7d14374c66f9e84 /src/ao_gps_test.c | |
parent | c83615567b4567f3dc45a7f7b894943b45fbb65c (diff) |
Log GPS data on pad after boost detect.
This wakes up the two GPS reporting tasks and gets them to report out
any existing GPS data to the log file. To make sure the timestamps in
that GPS data are accurate, this also records GPS time on receipt of
the GPS data instead of when that is logged.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_gps_test.c')
-rw-r--r-- | src/ao_gps_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ao_gps_test.c b/src/ao_gps_test.c index fddfedfd..cdcc6f4c 100644 --- a/src/ao_gps_test.c +++ b/src/ao_gps_test.c @@ -400,6 +400,8 @@ ao_serial_set_speed(uint8_t speed) tcflush(fd, TCIFLUSH); } +#define ao_time() 0 + #include "ao_gps_print.c" #include "ao_gps_sirf.c" |