mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 16:53:33 +08:00
v6x: fix rc.board_sensors ver command (#20763)
This commit is contained in:
@@ -53,7 +53,7 @@ then
|
|||||||
icm20649 -s -R 6 start
|
icm20649 -s -R 6 start
|
||||||
else
|
else
|
||||||
# Internal SPI BMI088
|
# Internal SPI BMI088
|
||||||
if ver V6X009010 V6X010010
|
if ver hwtypecmp V6X009010 V6X010010
|
||||||
then
|
then
|
||||||
bmi088 -A -R 2 -s start
|
bmi088 -A -R 2 -s start
|
||||||
bmi088 -G -R 2 -s start
|
bmi088 -G -R 2 -s start
|
||||||
@@ -64,7 +64,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Internal SPI bus ICM42688p
|
# Internal SPI bus ICM42688p
|
||||||
if ver V6X009010 V6X010010
|
if ver hwtypecmp V6X009010 V6X010010
|
||||||
then
|
then
|
||||||
icm42688p -R 4 -s start
|
icm42688p -R 4 -s start
|
||||||
else
|
else
|
||||||
@@ -76,7 +76,7 @@ then
|
|||||||
# Internal SPI bus ICM-42670-P (hard-mounted)
|
# Internal SPI bus ICM-42670-P (hard-mounted)
|
||||||
icm42670p -R 10 -s start
|
icm42670p -R 10 -s start
|
||||||
else
|
else
|
||||||
if ver V6X009010 V6X010010
|
if ver hwtypecmp V6X009010 V6X010010
|
||||||
then
|
then
|
||||||
icm20602 -R 8 -s start
|
icm20602 -R 8 -s start
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user