From c2d1ca81d9bcc4b5a1fbf93e61af1db14a7e5158 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Sun, 8 Nov 2020 23:23:06 +1100 Subject: Update PID range --- libraries/OBD2UART/OBD2UART.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/OBD2UART/OBD2UART.h') 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); -- cgit v1.2.3