mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
refactor lis3mdl: use driver base class
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user