Date error

Inquiry and support for Freematics products
Post Reply
Paracetamol
Posts: 4
Joined: Sun Aug 23, 2015 9:28 am

Date error

Post by Paracetamol »

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);
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: Date error

Post by stanley »

Already fixed in latest revision. ;-)
Post Reply