mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +08:00
rc.sensors:Fix Shell Check warning
This commit is contained in:
committed by
Daniel Agar
parent
3c227b6f76
commit
8952fa2935
@@ -136,9 +136,8 @@ fi
|
|||||||
# Sensirion SDP3X differential pressure sensor external I2C
|
# Sensirion SDP3X differential pressure sensor external I2C
|
||||||
if param compare -s SENS_EN_SDP3X 1
|
if param compare -s SENS_EN_SDP3X 1
|
||||||
then
|
then
|
||||||
if sdp3x_airspeed start -X
|
if ! sdp3x_airspeed start -X
|
||||||
then
|
then
|
||||||
else
|
|
||||||
# try another common address
|
# try another common address
|
||||||
sdp3x_airspeed start -X -a 0x22
|
sdp3x_airspeed start -X -a 0x22
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user