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/OBD/OBD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/OBD') 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; -- cgit v1.2.3