From 9eb92a38287786c25ef2b309d4857dadc11e9bd9 Mon Sep 17 00:00:00 2001 From: paracetamol32 <dominique_manas@hotmail.com> Date: Tue, 22 Sep 2015 11:10:48 +0200 Subject: [PATCH] Update megalogger.ino --- megalogger/megalogger.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/megalogger/megalogger.ino b/megalogger/megalogger.ino index 4d76f3d..84cb2f0 100644 --- a/megalogger/megalogger.ino +++ b/megalogger/megalogger.ino @@ -376,7 +376,7 @@ void processGPS() logger.dataTime = millis(); gps.get_datetime(&date, &time, 0); - if (date != (byte)gpsDate) { + if ((byte)date != (byte)gpsDate) { // log date only if it's changed logger.logData(PID_GPS_DATE, (int32_t)date); gpsDate = (byte)date;