mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 16:46:09 +08:00
refactor icm20948: use driver base class
This commit is contained in:
@@ -36,7 +36,7 @@ qmc5883 -X start
|
||||
lis3mdl -X start
|
||||
|
||||
# ICM20948 as external magnetometer on I2C (e.g. Here GPS)
|
||||
if ! icm20948 -X -M -R 6 start
|
||||
if ! icm20948 -X -R 6 start
|
||||
then
|
||||
# external emulated AK09916 (Here2) is rotated 270 degrees yaw
|
||||
ak09916 -X -R 6 start
|
||||
|
||||
@@ -72,7 +72,7 @@ then
|
||||
param set SENS_EN_THERMAL 0
|
||||
|
||||
# ICM20948 as external magnetometer on I2C (e.g. Here GPS)
|
||||
if ! icm20948 -X -M -R 6 start
|
||||
if ! icm20948 -X -R 6 start
|
||||
then
|
||||
# external emulated AK09916 (Here2) is rotated 270 degrees yaw
|
||||
ak09916 -X -R 6 start
|
||||
|
||||
@@ -30,7 +30,7 @@ qmc5883 -X start
|
||||
lis3mdl -X start
|
||||
|
||||
# ICM20948 as external magnetometer on I2C (e.g. Here GPS)
|
||||
if ! icm20948 -X -M -R 6 start
|
||||
if ! icm20948 -X -R 6 start
|
||||
then
|
||||
# external emulated AK09916 (Here2) is rotated 270 degrees yaw
|
||||
ak09916 -X -R 6 start
|
||||
|
||||
Reference in New Issue
Block a user