From 0f0737261c2bfb995b6e74c315d208c8eeb79d85 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 10 Mar 2017 23:18:13 +1100 Subject: Fixed a possible compilation issue --- libraries/OBD2UART/OBD2UART.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/OBD2UART') diff --git a/libraries/OBD2UART/OBD2UART.cpp b/libraries/OBD2UART/OBD2UART.cpp index 99f1e7b..fd6b35d 100644 --- a/libraries/OBD2UART/OBD2UART.cpp +++ b/libraries/OBD2UART/OBD2UART.cpp @@ -462,7 +462,7 @@ bool COBD::memsInit() return sendCommand("ATTEMP\r", buf, sizeof(buf)) > 0 && !strchr(buf, '?'); } -bool COBD::memsRead(int* acc, int* gyr = 0, int* mag = 0, int* temp = 0) +bool COBD::memsRead(int* acc, int* gyr, int* mag, int* temp) { char buf[64]; bool success; -- cgit v1.2.3