refactor lis3mdl: use driver base class

This commit is contained in:
Beat Küng
2020-03-17 18:08:17 +01:00
committed by Daniel Agar
parent 785f18ebf8
commit 4d511868e6
8 changed files with 98 additions and 554 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ ms5611 -s start
if ! hmc5883 -T -S -R 2 start
then
# lis3mdl internal SPI bus is rotated 90 deg yaw
lis3mdl start
lis3mdl -s start
fi
# Start either ICM2060X. They are both connected to the same SPI bus and use the same
+1 -1
View File
@@ -17,7 +17,7 @@ icm20602 -s -R 8 start
mpu9250 -s -R 2 start
# Internal SPI bus
lis3mdl -R 0 start
lis3mdl -s -R 0 start
# Possible external compasses
hmc5883 -T -X start