From d75e61eef6e7b354e460fabc1955bbc9ddb2da49 Mon Sep 17 00:00:00 2001 From: Tanja Baumann Date: Wed, 14 Dec 2022 07:53:12 +0100 Subject: [PATCH] v6x: fix rc.board_sensors ver command (#20763) --- boards/px4/fmu-v6x/init/rc.board_sensors | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/px4/fmu-v6x/init/rc.board_sensors b/boards/px4/fmu-v6x/init/rc.board_sensors index dc0ef48937..4d0ad09fd8 100644 --- a/boards/px4/fmu-v6x/init/rc.board_sensors +++ b/boards/px4/fmu-v6x/init/rc.board_sensors @@ -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