summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-06-12 10:24:34 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2014-06-12 10:24:34 +1000
commit68bf27a97426499844954ebe36ceec0bf0fe2cb9 (patch)
treedf218a477159b8725d398eb4469b7d3e7878aa4e /libraries
parent6955158681c994fb8220f1fee21c282c21893ca3 (diff)
download2021-arduino-obd-68bf27a97426499844954ebe36ceec0bf0fe2cb9.tar.gz
2021-arduino-obd-68bf27a97426499844954ebe36ceec0bf0fe2cb9.tar.bz2
2021-arduino-obd-68bf27a97426499844954ebe36ceec0bf0fe2cb9.zip
Add missing uninit()
Diffstat (limited to 'libraries')
-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 328d91d..7f6828b 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)
{