From abf3d1d93c33267e374c1dd93b2e96a7f72186c4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 8 Mar 2020 15:55:53 +0100 Subject: mpu9250: getRawMagnet: pass request success to userland --- include/driver/mpu9250.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/driver') diff --git a/include/driver/mpu9250.h b/include/driver/mpu9250.h index 70c7f46..e106205 100644 --- a/include/driver/mpu9250.h +++ b/include/driver/mpu9250.h @@ -269,7 +269,7 @@ class MPU9250 { inline int getGyroZ() { return getWordReg(71); } void getRawAccel(int *x, int *y, int *z); void getRawGyro(int *x, int *y, int *z); - void getRawMagnet(int *x, int *y, int *z); + bool getRawMagnet(int *x, int *y, int *z); void getAccel(float *g_x, float *g_y, float *g_z); void getGyro(float *dps_x, float *dps_y, float *dps_z); void getMagnet(int *x, int *y, int *z); -- cgit v1.2.3