summaryrefslogtreecommitdiff
path: root/nanotimer
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@live.com>2016-07-06 14:57:50 +0800
committerStanley Huang <stanleyhuangyc@live.com>2016-07-06 14:57:50 +0800
commitc5a9fdb80df58015c0705d23e2208cb576affd7c (patch)
tree9bc8b7957dea05f3130da6821e65fed441802892 /nanotimer
parent23ea91258a34ab568c5dd2878f2eaa8a0dec6fe7 (diff)
download2021-arduino-obd-c5a9fdb80df58015c0705d23e2208cb576affd7c.tar.gz
2021-arduino-obd-c5a9fdb80df58015c0705d23e2208cb576affd7c.tar.bz2
2021-arduino-obd-c5a9fdb80df58015c0705d23e2208cb576affd7c.zip
Renaming read() to readPID() in OBD library
Diffstat (limited to 'nanotimer')
-rw-r--r--nanotimer/nanotimer.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/nanotimer/nanotimer.ino b/nanotimer/nanotimer.ino
index b9e20b9..b4a1013 100644
--- a/nanotimer/nanotimer.ino
+++ b/nanotimer/nanotimer.ino
@@ -8,9 +8,9 @@
#include <Arduino.h>
#include <Wire.h>
#include <SPI.h>
-#include <OBD.h>
#include <SD.h>
#include <MicroLCD.h>
+#include <OBD.h>
#include "config.h"
#if USE_SOFTSERIAL
#include <SoftwareSerial.h>
@@ -188,7 +188,7 @@ private:
uint32_t dataTime;
#endif
int speed;
- if (!read(PID_SPEED, speed))
+ if (!readPID(PID_SPEED, speed))
return;
dataTime = millis();