From 473e08ae116f8b61804adbdb5e29ef090ee0ad5c Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Mon, 8 May 2017 22:29:41 +1000 Subject: Fixed compiling issue on 32-bit systems --- libraries/OBD2UART/OBD2UART.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/OBD2UART/OBD2UART.h') diff --git a/libraries/OBD2UART/OBD2UART.h b/libraries/OBD2UART/OBD2UART.h index dd151f2..62ac18b 100644 --- a/libraries/OBD2UART/OBD2UART.h +++ b/libraries/OBD2UART/OBD2UART.h @@ -147,7 +147,7 @@ public: // initialize MEMS sensor virtual bool memsInit(); // read out MEMS data (acc for accelerometer, gyr for gyroscope, temp in 0.1 celcius degree) - virtual bool memsRead(int* acc, int* gyr = 0, int* mag = 0, int* temp = 0); + virtual bool memsRead(int16_t* acc, int16_t* gyr = 0, int16_t* mag = 0, int16_t* temp = 0); // send query for specified PID virtual void sendQuery(byte pid); // retrive and parse the response of specifie PID -- cgit v1.2.3