summaryrefslogtreecommitdiff
path: root/obdlogger/MPU6050.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'obdlogger/MPU6050.cpp')
-rw-r--r--obdlogger/MPU6050.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/obdlogger/MPU6050.cpp b/obdlogger/MPU6050.cpp
index 86901d9..3091236 100644
--- a/obdlogger/MPU6050.cpp
+++ b/obdlogger/MPU6050.cpp
@@ -192,4 +192,5 @@ int MPU6050_readout(accel_t_gyro_union* accel_t_gyro)
SWAP (accel_t_gyro->reg.x_gyro_h, accel_t_gyro->reg.x_gyro_l);
SWAP (accel_t_gyro->reg.y_gyro_h, accel_t_gyro->reg.y_gyro_l);
SWAP (accel_t_gyro->reg.z_gyro_h, accel_t_gyro->reg.z_gyro_l);
+ return 0;
}