diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2016-01-07 00:04:09 +1100 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2016-01-07 00:04:09 +1100 |
commit | 1ceaa48c3d54f071239d7a6da40ba78ac747eae5 (patch) | |
tree | da7c1840f0f227c48bfed45133e4bc2bdb48c9fe /libraries/OBD/OBD.cpp | |
parent | 852b10e7589aca4444adbdc0bd4b5eb1b9bb18ca (diff) | |
download | 2021-arduino-obd-1ceaa48c3d54f071239d7a6da40ba78ac747eae5.tar.gz 2021-arduino-obd-1ceaa48c3d54f071239d7a6da40ba78ac747eae5.tar.bz2 2021-arduino-obd-1ceaa48c3d54f071239d7a6da40ba78ac747eae5.zip |
Fix VIN parsing issue with KWP2000
Diffstat (limited to 'libraries/OBD/OBD.cpp')
-rw-r--r-- | libraries/OBD/OBD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp index 9015051..e4d546c 100644 --- a/libraries/OBD/OBD.cpp +++ b/libraries/OBD/OBD.cpp @@ -239,7 +239,7 @@ float COBD::getVoltage() bool COBD::getVIN(char* buffer, byte bufsize) { if (sendCommand("0902\r", buffer, bufsize)) { - char *p = strstr(buffer, "0: 49 02"); + char *p = strstr(buffer, "49 02"); if (p) { char *q = buffer; p += 10; |