summaryrefslogtreecommitdiff
path: root/libraries/OBD/OBD.cpp
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@live.com>2016-06-26 20:07:52 +0800
committerStanley Huang <stanleyhuangyc@live.com>2016-06-26 20:07:52 +0800
commit80112f02d05aed34035534b342b320854d445cba (patch)
tree4ebf5a4788fdc6b3db2224191d918ce66a723ade /libraries/OBD/OBD.cpp
parentcbefe9f23805c0b8f333cf9659e36ef58146418c (diff)
download2021-arduino-obd-80112f02d05aed34035534b342b320854d445cba.tar.gz
2021-arduino-obd-80112f02d05aed34035534b342b320854d445cba.tar.bz2
2021-arduino-obd-80112f02d05aed34035534b342b320854d445cba.zip
Minor updates
Diffstat (limited to 'libraries/OBD/OBD.cpp')
-rw-r--r--libraries/OBD/OBD.cpp2
1 files changed, 1 insertions, 1 deletions
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