From c5a9fdb80df58015c0705d23e2208cb576affd7c Mon Sep 17 00:00:00 2001
From: Stanley Huang <stanleyhuangyc@live.com>
Date: Wed, 6 Jul 2016 14:57:50 +0800
Subject: Renaming read() to readPID() in OBD library

---
 tester/tester.ino | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'tester/tester.ino')

diff --git a/tester/tester.ino b/tester/tester.ino
index 8e141ad..2ec1bf9 100644
--- a/tester/tester.ino
+++ b/tester/tester.ino
@@ -200,7 +200,7 @@ bool checkSD()
         const byte pids[]= {PID_RPM, PID_SPEED, PID_THROTTLE, PID_ENGINE_LOAD};
         int values[sizeof(pids)];
         // read multiple OBD-II PIDs
-        if (read(pids, sizeof(pids), values) == sizeof(pids)) {
+        if (readPID(pids, sizeof(pids), values) == sizeof(pids)) {
           dataTime = millis();
           for (byte n = 0; n < sizeof(pids); n++) {
             logData((uint16_t)pids[n] | 0x100, values[n]);
@@ -215,7 +215,7 @@ bool checkSD()
           int value;
           byte pid = pids2[index2 = (index2 + 1) % (sizeof(pids2))];
           // read single OBD-II PID
-          if (isValidPID(pid) && read(pid, value)) {
+          if (isValidPID(pid) && readPID(pid, value)) {
             dataTime = millis();
             logData((uint16_t)pid | 0x100, value);
             lastSec = sec;
-- 
cgit v1.2.3