diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2017-03-10 23:18:13 +1100 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2017-03-10 23:18:13 +1100 |
commit | 0f0737261c2bfb995b6e74c315d208c8eeb79d85 (patch) | |
tree | 90537a2954bdaca26f5120c1560e82eb72c04a0d /libraries/OBD2UART | |
parent | 8a1fd948ff4757dd977f0b708d39370f49d337d7 (diff) | |
download | 2021-arduino-obd-0f0737261c2bfb995b6e74c315d208c8eeb79d85.tar.gz 2021-arduino-obd-0f0737261c2bfb995b6e74c315d208c8eeb79d85.tar.bz2 2021-arduino-obd-0f0737261c2bfb995b6e74c315d208c8eeb79d85.zip |
Fixed a possible compilation issue
Diffstat (limited to 'libraries/OBD2UART')
-rw-r--r-- | libraries/OBD2UART/OBD2UART.cpp | 2 |
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; |