refactor mpu9250: use driver base class

This commit is contained in:
Beat Küng
2020-03-24 09:46:20 -04:00
committed by Daniel Agar
parent 6ad5357d1a
commit 7626be0485
24 changed files with 139 additions and 279 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ then
rgbled_ncp5623c start -X -a 0x38
#mpu6000 -s -R 4 -T 20608 start
mpu9250 -R 4 start
mpu9250 -s -R 4 start
# Default GNSS with LIS3MDL magnetometer with external i2c.
lis3mdl -R 2 -X start
@@ -27,7 +27,7 @@ fi
# Draco
if param compare SYS_AUTOSTART 4072
then
mpu9250 -R 2 start
mpu9250 -s -R 2 start
fi
# IFO
@@ -39,6 +39,6 @@ then
# IFO rgb LED
pca9685 start
mpu9250 -R 2 start
mpu9250 -s -R 2 start
lis3mdl -R 2 -X start
fi