libaltos: cjnitest needs altos_flush now
[fw/altos] / src / ao_gps_test_skytraq.c
index 510bc41916532aa3b53f4ec2037226af62c20f39..7fa10eaaf7bb1818f2e0b1dbed5f1e5097620b6b 100644 (file)
 
 #define AO_GPS_VALID           (1 << 4)
 #define AO_GPS_RUNNING         (1 << 5)
+#define AO_GPS_DATE_VALID      (1 << 6)
 
 struct ao_gps_data {
+       uint8_t                 year;
+       uint8_t                 month;
+       uint8_t                 day;
        uint8_t                 hour;
        uint8_t                 minute;
        uint8_t                 second;
@@ -404,6 +408,8 @@ ao_serial_set_speed(uint8_t speed)
        tcflush(fd, TCIFLUSH);
 }
 
+#define ao_time() 0
+
 #include "ao_gps_print.c"
 #include "ao_gps_skytraq.c"