summaryrefslogtreecommitdiff
path: root/obdlogger/obdlogger.ino
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-12-22 01:02:12 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2013-12-22 01:02:12 +1100
commit1f7a0c08ecf9884398bc032a62f021512ecd23f6 (patch)
treec3026688a2503574cfb6895d914235b255f6d4a2 /obdlogger/obdlogger.ino
parentc575202e73cbbe86923ebdafc353fad8437ed5a1 (diff)
download2021-arduino-obd-1f7a0c08ecf9884398bc032a62f021512ecd23f6.tar.gz
2021-arduino-obd-1f7a0c08ecf9884398bc032a62f021512ecd23f6.tar.bz2
2021-arduino-obd-1f7a0c08ecf9884398bc032a62f021512ecd23f6.zip
Update OBD logger
Diffstat (limited to 'obdlogger/obdlogger.ino')
-rw-r--r--obdlogger/obdlogger.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/obdlogger/obdlogger.ino b/obdlogger/obdlogger.ino
index f685e31..ef91a2d 100644
--- a/obdlogger/obdlogger.ino
+++ b/obdlogger/obdlogger.ino
@@ -61,9 +61,9 @@ static uint16_t speedGPS = 0;
#endif
static uint32_t lastFileSize = 0;
-static uint16_t lastSpeed = -1;
+static int lastSpeed = -1;
static uint32_t lastSpeedTime = 0;
-static uint16_t speed = 0;
+static int speed = 0;
static uint32_t distance = 0;
static uint16_t fileIndex = 0;
static uint32_t startTime = 0;