From db286537be196b391a3bd6019a1be8c268df623d Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Wed, 31 Dec 2014 12:54:09 +1100 Subject: Remove protocol tryout --- megalogger/megalogger.ino | 3 +++ 1 file changed, 3 insertions(+) (limited to 'megalogger') diff --git a/megalogger/megalogger.ino b/megalogger/megalogger.ino index 39cfa84..229dcfc 100644 --- a/megalogger/megalogger.ino +++ b/megalogger/megalogger.ino @@ -280,6 +280,7 @@ bool connectOBD() if (obd.init(OBD_PROTOCOL)) return true; +#if 0 for (byte proto = (byte)PROTO_ISO_9141_2; proto <= PROTO_CAN_11B_250K; proto++) { lcd.setCursor(60, 8); lcd.print("Protocol "); @@ -287,6 +288,8 @@ bool connectOBD() if (obd.init((OBD_PROTOCOLS)proto)) return true; } +#endif + obd.end(); return false; } -- cgit v1.2.3