diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2017-02-16 20:39:51 +1100 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2017-02-16 20:39:51 +1100 |
commit | 33a7b016dea7679fd319eb94baca680a5117f3e4 (patch) | |
tree | 549ea0359665f28908d87faf80482afd7b94de5f /libraries/OBD | |
parent | f5c7e17facba472b39b61f3846632e23e727b164 (diff) | |
download | 2021-arduino-obd-33a7b016dea7679fd319eb94baca680a5117f3e4.tar.gz 2021-arduino-obd-33a7b016dea7679fd319eb94baca680a5117f3e4.tar.bz2 2021-arduino-obd-33a7b016dea7679fd319eb94baca680a5117f3e4.zip |
Fixed compile issue
Diffstat (limited to 'libraries/OBD')
-rw-r--r-- | libraries/OBD/OBD.cpp | 7 | ||||
-rw-r--r-- | libraries/OBD/OBD.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp index 2dbede8..38b782e 100644 --- a/libraries/OBD/OBD.cpp +++ b/libraries/OBD/OBD.cpp @@ -539,13 +539,6 @@ void COBDI2C::end() m_state = OBD_DISCONNECTED; } -bool COBDI2C::readPID(byte pid, int& result) -{ - sendQuery(pid); - dataIdleLoop(); - return getResult(pid, result); -} - void COBDI2C::write(const char* s) { COMMAND_BLOCK cmdblock = {millis(), CMD_SEND_AT_COMMAND}; diff --git a/libraries/OBD/OBD.h b/libraries/OBD/OBD.h index f106e41..73607c7 100644 --- a/libraries/OBD/OBD.h +++ b/libraries/OBD/OBD.h @@ -201,7 +201,6 @@ class COBDI2C : public COBD { public:
byte begin();
void end();
- bool readPID(byte pid, int& result);
void write(const char* s);
// API not applicable
bool setBaudRate(unsigned long baudrate) { return false; }
|