mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
refactor l3gd20: use driver base class
This commit is contained in:
@@ -16,7 +16,7 @@ qmc5883 -I -R 12 start
|
||||
mpu6000 -s -R 8 start
|
||||
mpu9250 -s -R 8 start
|
||||
lsm303d -s -R 10 start
|
||||
l3gd20 -R 14 start
|
||||
l3gd20 -s -R 14 start
|
||||
|
||||
# Internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
@@ -70,8 +70,8 @@ then
|
||||
# sensor heating is available, but we disable it for now
|
||||
param set SENS_EN_THERMAL 0
|
||||
|
||||
# external L3GD20H is rotated 180 degrees yaw
|
||||
l3gd20 -X -R 4 start
|
||||
# (external) L3GD20H is rotated 180 degrees yaw
|
||||
l3gd20 -s -R 4 start
|
||||
|
||||
# (external) LSM303D is rotated 270 degrees yaw
|
||||
lsm303d -s -R 6 start
|
||||
@@ -105,7 +105,7 @@ else
|
||||
# else: On the PixhawkMini the mpu9250 has been disabled due to HW errata
|
||||
fi
|
||||
|
||||
l3gd20 start
|
||||
l3gd20 -s start
|
||||
lsm303d -s start
|
||||
fi
|
||||
|
||||
|
||||
@@ -78,8 +78,8 @@ then
|
||||
ak09916 -X -R 6 start
|
||||
fi
|
||||
|
||||
# external L3GD20H is rotated 180 degrees yaw
|
||||
l3gd20 -X -R 4 start
|
||||
# (external) L3GD20H is rotated 180 degrees yaw
|
||||
l3gd20 -s -R 4 start
|
||||
|
||||
# (external) LSM303D is rotated 270 degrees yaw
|
||||
lsm303d -s -R 6 start
|
||||
@@ -113,7 +113,7 @@ else
|
||||
# else: On the PixhawkMini the mpu9250 has been disabled due to HW errata
|
||||
fi
|
||||
|
||||
l3gd20 start
|
||||
l3gd20 -s start
|
||||
lsm303d -s start
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user