projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add desktop file
[fw/altos]
/
src
/
ao_gps_test_skytraq.c
diff --git
a/src/ao_gps_test_skytraq.c
b/src/ao_gps_test_skytraq.c
index 510bc41916532aa3b53f4ec2037226af62c20f39..7fa10eaaf7bb1818f2e0b1dbed5f1e5097620b6b 100644
(file)
--- a/
src/ao_gps_test_skytraq.c
+++ b/
src/ao_gps_test_skytraq.c
@@
-27,8
+27,12
@@
#define AO_GPS_VALID (1 << 4)
#define AO_GPS_RUNNING (1 << 5)
#define AO_GPS_VALID (1 << 4)
#define AO_GPS_RUNNING (1 << 5)
+#define AO_GPS_DATE_VALID (1 << 6)
struct ao_gps_data {
struct ao_gps_data {
+ uint8_t year;
+ uint8_t month;
+ uint8_t day;
uint8_t hour;
uint8_t minute;
uint8_t second;
uint8_t hour;
uint8_t minute;
uint8_t second;
@@
-404,6
+408,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_skytraq.c"
#include "ao_gps_print.c"
#include "ao_gps_skytraq.c"