mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 20:03:54 +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
|
||||
if param compare -s SENS_EN_SDP3X 1
|
||||
then
|
||||
if sdp3x_airspeed start -X
|
||||
if ! sdp3x_airspeed start -X
|
||||
then
|
||||
else
|
||||
# try another common address
|
||||
sdp3x_airspeed start -X -a 0x22
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user