From 2fe8b9cc9df6abd2560a19474fb58da8e501873f Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 27 Dec 2013 00:21:24 +1100 Subject: Fixed bug of GPS date and time logging --- megalogger/datalogger.h | 4 ++-- obdlogger/datalogger.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/megalogger/datalogger.h b/megalogger/datalogger.h index 315e803..43cae04 100644 --- a/megalogger/datalogger.h +++ b/megalogger/datalogger.h @@ -275,9 +275,9 @@ public: dataSize += sdfile.write(','); dataSize += sdfile.print(pid, HEX); dataSize += sdfile.write(','); - dataSize += sdfile.print(value1, 6); + dataSize += sdfile.print(value1); dataSize += sdfile.write(' '); - dataSize += sdfile.print(value2, 6); + dataSize += sdfile.print(value2); dataSize += sdfile.write('\n'); m_lastDataTime = dataTime; #endif diff --git a/obdlogger/datalogger.h b/obdlogger/datalogger.h index 315e803..43cae04 100644 --- a/obdlogger/datalogger.h +++ b/obdlogger/datalogger.h @@ -275,9 +275,9 @@ public: dataSize += sdfile.write(','); dataSize += sdfile.print(pid, HEX); dataSize += sdfile.write(','); - dataSize += sdfile.print(value1, 6); + dataSize += sdfile.print(value1); dataSize += sdfile.write(' '); - dataSize += sdfile.print(value2, 6); + dataSize += sdfile.print(value2); dataSize += sdfile.write('\n'); m_lastDataTime = dataTime; #endif -- cgit v1.2.3