mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +08:00
rc.sensors fix indentation
This commit is contained in:
committed by
Lorenz Meier
parent
9d494e625f
commit
69cc4d7e7f
@@ -11,20 +11,17 @@ then
|
||||
|
||||
else
|
||||
if ver hwcmp AEROFC_V1
|
||||
# Aero FC uses separate driver
|
||||
then
|
||||
# Aero FC uses separate driver
|
||||
else
|
||||
|
||||
if ver hwcmp CRAZYFLIE
|
||||
then
|
||||
# Crazyflie uses separate driver
|
||||
else
|
||||
|
||||
# Configure all I2C buses to 100 KHz as they
|
||||
# are all external or slow
|
||||
fmu i2c 1 100000
|
||||
fmu i2c 2 100000
|
||||
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V4
|
||||
@@ -38,10 +35,12 @@ else
|
||||
fmu sensor_reset 50
|
||||
fi
|
||||
|
||||
# External SPI
|
||||
if ms5611 -S start
|
||||
then
|
||||
fi
|
||||
|
||||
# Internal SPI
|
||||
if ms5611 -s start
|
||||
then
|
||||
fi
|
||||
@@ -50,7 +49,6 @@ else
|
||||
if bst start
|
||||
then
|
||||
fi
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user