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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'megalogger') 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 -- cgit v1.2.3