mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 12:48:53 +08:00
sensors: Add param for VL53L0X to startup
It turns out there was no param to enable starting the VL53L0X at startup. Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
@@ -101,6 +101,12 @@ then
|
||||
pmw3901 -S start
|
||||
fi
|
||||
|
||||
# vl53l0x i2c distance sensor
|
||||
if param compare -s SENS_EN_VL53L0X 1
|
||||
then
|
||||
vl53l0x start -X
|
||||
fi
|
||||
|
||||
# vl53l1x i2c distance sensor
|
||||
if param compare -s SENS_EN_VL53L1X 1
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user