summaryrefslogtreecommitdiff
path: root/include/driver
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver')
-rw-r--r--include/driver/mpu9250.h2
1 files changed, 1 insertions, 1 deletions
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);