From 5c4300402d931b2cb53db7214877d9b7e69a8416 Mon Sep 17 00:00:00 2001 From: Stanley Huang <stanleyhuangyc@gmail.com> Date: Fri, 29 Nov 2013 23:13:36 +1100 Subject: update OBD-II library --- libraries/OBD/OBD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/OBD/OBD.cpp') diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp index 5dcf903..3360d07 100644 --- a/libraries/OBD/OBD.cpp +++ b/libraries/OBD/OBD.cpp @@ -75,7 +75,7 @@ void COBD::sendQuery(unsigned char pid) write(cmd); } -bool COBD::readSensor(byte pid, int& result, bool passive) +bool COBD::read(byte pid, int& result, bool passive) { // send a query command sendQuery(pid); @@ -341,7 +341,7 @@ bool COBDI2C::init() } } -bool COBDI2C::readSensor(byte pid, int& result, bool passive) +bool COBDI2C::read(byte pid, int& result, bool passive) { uint32_t t = millis(); sendQuery(pid); -- cgit v1.2.3