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
|
else
|
||||||
if ver hwcmp AEROFC_V1
|
if ver hwcmp AEROFC_V1
|
||||||
# Aero FC uses separate driver
|
|
||||||
then
|
then
|
||||||
|
# Aero FC uses separate driver
|
||||||
else
|
else
|
||||||
|
|
||||||
if ver hwcmp CRAZYFLIE
|
if ver hwcmp CRAZYFLIE
|
||||||
then
|
then
|
||||||
# Crazyflie uses separate driver
|
# Crazyflie uses separate driver
|
||||||
else
|
else
|
||||||
|
|
||||||
# Configure all I2C buses to 100 KHz as they
|
# Configure all I2C buses to 100 KHz as they
|
||||||
# are all external or slow
|
# are all external or slow
|
||||||
fmu i2c 1 100000
|
fmu i2c 1 100000
|
||||||
fmu i2c 2 100000
|
fmu i2c 2 100000
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ver hwcmp PX4FMU_V4
|
if ver hwcmp PX4FMU_V4
|
||||||
@@ -38,10 +35,12 @@ else
|
|||||||
fmu sensor_reset 50
|
fmu sensor_reset 50
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# External SPI
|
||||||
if ms5611 -S start
|
if ms5611 -S start
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Internal SPI
|
||||||
if ms5611 -s start
|
if ms5611 -s start
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
@@ -50,7 +49,6 @@ else
|
|||||||
if bst start
|
if bst start
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user