summaryrefslogtreecommitdiff
path: root/libraries/OBD2UART/OBD2UART.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/OBD2UART/OBD2UART.cpp')
-rw-r--r--libraries/OBD2UART/OBD2UART.cpp2
1 files changed, 1 insertions, 1 deletions
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;