From f2aa7d3f88df8723e3b74fe8d69d5765243c16ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orkun=20A=C5=9Fa?= Date: Tue, 8 Dec 2020 20:10:25 +0300 Subject: [PATCH] Update ROMFS/px4fmu_common/init.d/rc.sensors parameter comparison logic is changed. Co-authored-by: Daniel Agar --- ROMFS/px4fmu_common/init.d/rc.sensors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 1caa415503..75f739e80a 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -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