From 355f184f06623cad9becbe02724ca31f62502062 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Fri, 9 Sep 2022 16:36:04 -0400 Subject: [PATCH] boards/px4/fmu-v3: allow optional ms5607 startup to fail quietly (no error) --- boards/px4/fmu-v2/init/rc.board_sensors | 2 +- boards/px4/fmu-v3/init/rc.board_sensors | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/px4/fmu-v2/init/rc.board_sensors b/boards/px4/fmu-v2/init/rc.board_sensors index f9a0c7217a..0b55912d9d 100644 --- a/boards/px4/fmu-v2/init/rc.board_sensors +++ b/boards/px4/fmu-v2/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 -q -s -b 1 start then ms5611 -s -b 1 start fi diff --git a/boards/px4/fmu-v3/init/rc.board_sensors b/boards/px4/fmu-v3/init/rc.board_sensors index f9a0c7217a..0b55912d9d 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 -q -s -b 1 start then ms5611 -s -b 1 start fi