diff options
-rw-r--r-- | libraries/OBD/OBD.cpp | 2 | ||||
-rw-r--r-- | libraries/OBD2UART/OBD2UART.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp index 38b782e..f23da93 100644 --- a/libraries/OBD/OBD.cpp +++ b/libraries/OBD/OBD.cpp @@ -464,7 +464,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; 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; |