From 01b4acc22ab23793e01652f3b9051b3a9d4c237d Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Mon, 20 Apr 2015 11:19:30 +1000 Subject: Update OBD library --- libraries/OBD/OBD.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3