mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 13:02:25 +08:00
Update ROMFS/px4fmu_common/init.d/rc.sensors
parameter comparison logic is changed. Co-authored-by: Daniel Agar <daniel@agar.ca>
This commit is contained in:
@@ -103,7 +103,7 @@ then
|
||||
fi
|
||||
|
||||
# vl53l1x i2c distance sensor
|
||||
if param greater -s SENS_EN_VL53L1X 0
|
||||
if param compare -s SENS_EN_VL53L1X 1
|
||||
then
|
||||
vl53l1x start -X
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user