diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2015-04-20 11:19:30 +1000 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2015-04-20 11:19:30 +1000 |
commit | 01b4acc22ab23793e01652f3b9051b3a9d4c237d (patch) | |
tree | 9a98647129a83d72c13aab127a773ee2a43bc79f | |
parent | 9b19acc4b759b5c16d65c16c1b6e15d781f8116d (diff) | |
download | 2021-arduino-obd-01b4acc22ab23793e01652f3b9051b3a9d4c237d.tar.gz 2021-arduino-obd-01b4acc22ab23793e01652f3b9051b3a9d4c237d.tar.bz2 2021-arduino-obd-01b4acc22ab23793e01652f3b9051b3a9d4c237d.zip |
Update OBD library
-rw-r--r-- | libraries/OBD/OBD.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/OBD/OBD.h b/libraries/OBD/OBD.h index b2249dd..e53d243 100644 --- a/libraries/OBD/OBD.h +++ b/libraries/OBD/OBD.h @@ -139,13 +139,13 @@ public: byte pidmap[4 * 4];
protected:
virtual char* getResponse(byte& pid, char* buffer);
+ virtual byte receive(char* buffer = 0, int timeout = OBD_TIMEOUT_SHORT);
virtual void dataIdleLoop() {}
void recover();
void debugOutput(const char* s);
int normalizeData(byte pid, char* data);
OBD_STATES m_state;
private:
- virtual byte receive(char* buffer = 0, int timeout = OBD_TIMEOUT_SHORT);
virtual bool available();
virtual char read();
virtual void write(const char* s);
|