diff options
-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 4e7e5e8..93713b3 100644 --- a/megalogger/megalogger.ino +++ b/megalogger/megalogger.ino @@ -475,7 +475,7 @@ void logOBDData(byte pid) if (pid == PID_SPEED) { // estimate distance travelled since last speed update - distance += (uint32_t)(value + lastSpeed) * (logger.dataTime - lastSpeedTime) / 5760; + distance += (uint32_t)(value + lastSpeed) * (logger.dataTime - lastSpeedTime) / 6000; // display speed lcd.setFontSize(FONT_SIZE_MEDIUM); lcd.setCursor(250, 5); |