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:
Julian Oes
2023-01-11 09:52:27 -05:00
committed by Daniel Agar
parent c6239ce8c2
commit 72d36fc874
2 changed files with 48 additions and 0 deletions
+6
View File
@@ -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