summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2015-04-20 11:19:30 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2015-04-20 11:19:30 +1000
commit01b4acc22ab23793e01652f3b9051b3a9d4c237d (patch)
tree9a98647129a83d72c13aab127a773ee2a43bc79f
parent9b19acc4b759b5c16d65c16c1b6e15d781f8116d (diff)
download2021-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.h2
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);