From 80112f02d05aed34035534b342b320854d445cba Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Sun, 26 Jun 2016 20:07:52 +0800 Subject: Minor updates --- libraries/OBD/OBD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/OBD/OBD.cpp') diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp index 4a83813..162ca85 100644 --- a/libraries/OBD/OBD.cpp +++ b/libraries/OBD/OBD.cpp @@ -88,7 +88,7 @@ byte COBD::read(const byte pid[], byte count, int result[]) char *p = buffer; byte results = 0; for (byte n = 0; n < count; n++) { - p += sprintf(p, "%02X%02X\r\n", dataMode, pid[n]); + p += sprintf(p, "%02X%02X\r", dataMode, pid[n]); } write(buffer); // receive and parse the response -- cgit v1.2.3