summaryrefslogtreecommitdiff
path: root/libraries/OBD
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/OBD')
-rw-r--r--libraries/OBD/OBD.cpp7
-rw-r--r--libraries/OBD/OBD.h1
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; }