summaryrefslogtreecommitdiff
path: root/megalogger
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-12-31 12:54:09 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2014-12-31 12:54:09 +1100
commitdb286537be196b391a3bd6019a1be8c268df623d (patch)
tree3adc356e876c573f849db3fa88b07b5f1c28c4e0 /megalogger
parent37824f140a4cdcdd8a09428cd1d1a3608a03f216 (diff)
download2021-arduino-obd-db286537be196b391a3bd6019a1be8c268df623d.tar.gz
2021-arduino-obd-db286537be196b391a3bd6019a1be8c268df623d.tar.bz2
2021-arduino-obd-db286537be196b391a3bd6019a1be8c268df623d.zip
Remove protocol tryout
Diffstat (limited to 'megalogger')
-rw-r--r--megalogger/megalogger.ino3
1 files changed, 3 insertions, 0 deletions
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;
}