mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 02:53:34 +08:00
rc.sensors: try starting iis2mdc (#24254)
This commit is contained in:
@@ -232,9 +232,12 @@ then
|
|||||||
|
|
||||||
# compasses
|
# compasses
|
||||||
hmc5883 -T -X -q start
|
hmc5883 -T -X -q start
|
||||||
|
if ! iis2mdc -X -q start
|
||||||
|
then
|
||||||
|
lis2mdl -X -q start
|
||||||
|
fi
|
||||||
ist8308 -X -q start
|
ist8308 -X -q start
|
||||||
ist8310 -X -q start
|
ist8310 -X -q start
|
||||||
lis2mdl -X -q start
|
|
||||||
if ! lis3mdl -X -q start
|
if ! lis3mdl -X -q start
|
||||||
then
|
then
|
||||||
lis3mdl -X -q -a 0x1c start
|
lis3mdl -X -q -a 0x1c start
|
||||||
|
|||||||
Reference in New Issue
Block a user