diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-12-22 01:02:12 +1100 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-12-22 01:02:12 +1100 |
commit | 1f7a0c08ecf9884398bc032a62f021512ecd23f6 (patch) | |
tree | c3026688a2503574cfb6895d914235b255f6d4a2 /obdlogger/obdlogger.ino | |
parent | c575202e73cbbe86923ebdafc353fad8437ed5a1 (diff) | |
download | 2021-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.ino | 4 |
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; |