summaryrefslogtreecommitdiff
path: root/libraries/OBD2UART/OBD2UART.h
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2020-11-08 23:23:06 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2020-11-08 23:23:06 +1100
commitc2d1ca81d9bcc4b5a1fbf93e61af1db14a7e5158 (patch)
tree293654743f58c5681cfc2b0d22ec2d54e5d0d5bd /libraries/OBD2UART/OBD2UART.h
parent5e7e97fe4363e9b371706807d31f79812db4cf68 (diff)
download2021-arduino-obd-c2d1ca81d9bcc4b5a1fbf93e61af1db14a7e5158.tar.gz
2021-arduino-obd-c2d1ca81d9bcc4b5a1fbf93e61af1db14a7e5158.tar.bz2
2021-arduino-obd-c2d1ca81d9bcc4b5a1fbf93e61af1db14a7e5158.zip
Update PID range
Diffstat (limited to 'libraries/OBD2UART/OBD2UART.h')
-rw-r--r--libraries/OBD2UART/OBD2UART.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/OBD2UART/OBD2UART.h b/libraries/OBD2UART/OBD2UART.h
index 38688fa..4bf02fe 100644
--- a/libraries/OBD2UART/OBD2UART.h
+++ b/libraries/OBD2UART/OBD2UART.h
@@ -156,7 +156,7 @@ public:
// occurrence of errors
byte errors = 0;
// bit map of supported PIDs
- byte pidmap[4 * 4] = {0};
+ byte pidmap[4 * 8] = {0};
protected:
virtual char* getResponse(byte& pid, char* buffer, byte bufsize);
virtual int receive(char* buffer, int bufsize, unsigned int timeout = OBD_TIMEOUT_SHORT);