v6x: fix rc.board_sensors ver command (#20763)

This commit is contained in:
Tanja Baumann 2022-12-14 07:53:12 +01:00 committed by GitHub
parent 4d318ebd30
commit d75e61eef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ then
icm20649 -s -R 6 start
else
# Internal SPI BMI088
if ver V6X009010 V6X010010
if ver hwtypecmp V6X009010 V6X010010
then
bmi088 -A -R 2 -s start
bmi088 -G -R 2 -s start
@ -64,7 +64,7 @@ else
fi
# Internal SPI bus ICM42688p
if ver V6X009010 V6X010010
if ver hwtypecmp V6X009010 V6X010010
then
icm42688p -R 4 -s start
else
@ -76,7 +76,7 @@ then
# Internal SPI bus ICM-42670-P (hard-mounted)
icm42670p -R 10 -s start
else
if ver V6X009010 V6X010010
if ver hwtypecmp V6X009010 V6X010010
then
icm20602 -R 8 -s start
else