Date error
Posted: Mon Sep 21, 2015 6:46 pm
I think that time is logged intead date
gps.get_datetime(&date, &time, 0);
if (date != gpsDate) {
// log date only if it's changed
logger.logData(PID_GPS_DATE, (int32_t)time);
gpsDate = date;
}
logger.logData(PID_GPS_TIME, (int32_t)time);
gps.get_datetime(&date, &time, 0);
if (date != gpsDate) {
// log date only if it's changed
logger.logData(PID_GPS_DATE, (int32_t)time);
gpsDate = date;
}
logger.logData(PID_GPS_TIME, (int32_t)time);