From 0ed82ae21f68c1ec6a39eca633338273e0f4a453 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Thu, 2 Jun 2016 19:51:06 +1000 Subject: Fixed init() issue with some adapters --- libraries/OBD/OBD.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libraries') diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp index 2499500..4a83813 100644 --- a/libraries/OBD/OBD.cpp +++ b/libraries/OBD/OBD.cpp @@ -351,10 +351,6 @@ bool COBD::init(OBD_PROTOCOLS protocol) version = (*p - '0') * 10 + (*(p + 2) - '0'); } } - if (version == 0) { - m_state = OBD_FAILED; - return false; - } for (unsigned char i = 0; i < sizeof(initcmd) / sizeof(initcmd[0]); i++) { #ifdef DEBUG -- cgit v1.2.3