mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +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
|
fi
|
||||||
|
|
||||||
# vl53l1x i2c distance sensor
|
# vl53l1x i2c distance sensor
|
||||||
if param greater -s SENS_EN_VL53L1X 0
|
if param compare -s SENS_EN_VL53L1X 1
|
||||||
then
|
then
|
||||||
vl53l1x start -X
|
vl53l1x start -X
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user