From 280f2e3abc5a9258381d7862728b6c50a2838705 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Wed, 21 Sep 2022 11:29:39 +1200 Subject: [PATCH] fmu-v3: make optional sensor startup quiet This fixes the errors showing up at startup for me with a Black Cube. --- boards/px4/fmu-v3/init/rc.board_sensors | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/px4/fmu-v3/init/rc.board_sensors b/boards/px4/fmu-v3/init/rc.board_sensors index f9a0c7217a..c0232b3d9e 100644 --- a/boards/px4/fmu-v3/init/rc.board_sensors +++ b/boards/px4/fmu-v3/init/rc.board_sensors @@ -12,7 +12,7 @@ board_adc start hmc5883 -T -I -R 4 start # Internal SPI (auto detect ms5611 or ms5607) -if ! ms5611 -T 5607 -s -b 1 start +if ! ms5611 -T 5607 -s -b 1 -q start then ms5611 -s -b 1 start fi @@ -24,13 +24,13 @@ if ver hwtypecmp V30 then # Check for Pixhawk 2.0 cube (isolated IMU on SPI4) # mpu6000 on v2.0, mpu9250 on v2.1 - if mpu6000 -s -b 4 -R 10 start + if mpu6000 -s -b 4 -R 10 -q start then set BOARD_FMUV3 20 else # Check for Pixhawk 2.1 cube # isolated/external mpu9250 (SPI4) - if mpu9250 -s -b 4 -R 10 start + if mpu9250 -s -b 4 -R 10 -q start then set BOARD_FMUV3 21 fi