summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2018-01-30 22:51:39 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2018-01-30 22:51:39 +1100
commitec35ee0fab747dd7a7ef9f0996970b094a00d4f3 (patch)
treee9f9a3d650246083b2ae088bf19ccd5db2e80ada
parentbd86ac57fe9fa492e7e40e09d81de31bed1f449c (diff)
download2021-arduino-obd-ec35ee0fab747dd7a7ef9f0996970b094a00d4f3.tar.gz
2021-arduino-obd-ec35ee0fab747dd7a7ef9f0996970b094a00d4f3.tar.bz2
2021-arduino-obd-ec35ee0fab747dd7a7ef9f0996970b094a00d4f3.zip
Add support for Freematics OBD-II UART Adapter V2.1
-rw-r--r--libraries/OBD2UART/OBD2UART.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libraries/OBD2UART/OBD2UART.cpp b/libraries/OBD2UART/OBD2UART.cpp
index 8406251..826b3d2 100644
--- a/libraries/OBD2UART/OBD2UART.cpp
+++ b/libraries/OBD2UART/OBD2UART.cpp
@@ -634,7 +634,6 @@ bool COBD::memsOrientation(float& yaw, float& pitch, float& roll)
char buf[64];
bool success = false;
if (sendCommand("ATORI\r", buf, sizeof(buf)) > 0) do {
- Serial.println(buf);
char* p = getResultValue(buf);
if (!p) break;
yaw = (float)atof(p++);