diff options
Diffstat (limited to 'libraries/OBD/OBD.cpp')
-rw-r--r-- | libraries/OBD/OBD.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |