drivers/irlock: add SENS_EN_IRLOCK parameter to start driver

This commit is contained in:
Daniel Agar
2022-02-11 11:56:54 -05:00
parent 2eba1847fd
commit fca886e05a
2 changed files with 47 additions and 0 deletions
+6
View File
@@ -149,6 +149,12 @@ then
ms5525_airspeed start -X
fi
# IR-LOCK sensor external I2C
if param compare -s SENS_EN_IRLOCK 1
then
irlock start -X
fi
# probe for optional external I2C devices
if param compare SENS_EXT_I2C_PRB 1
then