diff options
Diffstat (limited to 'megalogger')
-rw-r--r-- | megalogger/megalogger.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/megalogger/megalogger.ino b/megalogger/megalogger.ino index 43d1f5a..15da969 100644 --- a/megalogger/megalogger.ino +++ b/megalogger/megalogger.ino @@ -332,7 +332,7 @@ private: gps.get_datetime(&date, &time, 0); logData(PID_GPS_TIME, time, date); - int speed = gps.speed() * 1852 / 100 / 1000; + float speed = gps.speed() * 1852 / 100000; logData(PID_GPS_SPEED, speed); // no need to log GPS data when vehicle has not been moving |