summaryrefslogtreecommitdiff
path: root/megalogger
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-12-27 00:21:24 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2013-12-27 00:21:24 +1100
commit2fe8b9cc9df6abd2560a19474fb58da8e501873f (patch)
tree4a1efa0504bd50d82925bae7e02c703dafda403f /megalogger
parent1f7a0c08ecf9884398bc032a62f021512ecd23f6 (diff)
download2021-arduino-obd-2fe8b9cc9df6abd2560a19474fb58da8e501873f.tar.gz
2021-arduino-obd-2fe8b9cc9df6abd2560a19474fb58da8e501873f.tar.bz2
2021-arduino-obd-2fe8b9cc9df6abd2560a19474fb58da8e501873f.zip
Fixed bug of GPS date and time logging
Diffstat (limited to 'megalogger')
-rw-r--r--megalogger/datalogger.h4
1 files changed, 2 insertions, 2 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