Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmu-v2: make optional sensor startup quiet #20384

Merged
merged 1 commit into from
Nov 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions boards/px4/fmu-v2/init/rc.board_sensors
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down