From 68bf27a97426499844954ebe36ceec0bf0fe2cb9 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Thu, 12 Jun 2014 10:24:34 +1000 Subject: Add missing uninit() --- libraries/OBD/OBD.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- cgit v1.2.3