mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 01:13:34 +08:00
boards/px4/fmu-v3: allow optional ms5607 startup to fail quietly (no error)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user