summaryrefslogtreecommitdiff
path: root/libraries/OBD/OBD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/OBD/OBD.cpp')
-rw-r--r--libraries/OBD/OBD.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp
index 5b57df9..2c9a2c7 100644
--- a/libraries/OBD/OBD.cpp
+++ b/libraries/OBD/OBD.cpp
@@ -313,6 +313,11 @@ bool COBD::init(byte protocol)
return true;
}
+void COBD::uninit()
+{
+ m_state = OBD_DISCONNECTED;
+}
+
#ifdef DEBUG
void COBD::debugOutput(const char *s)
{