From 42358a60d139852376ee40bfe25c3a52ac4d0f12 Mon Sep 17 00:00:00 2001 From: Mohammed Kabir Date: Tue, 26 May 2015 21:51:33 +0530 Subject: [PATCH] ll40ls : conditional startup --- ROMFS/px4fmu_common/init.d/rc.sensors | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 474db36ef7..c749233139 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -115,8 +115,15 @@ if px4flow start then fi -if ll40ls start +if param compare SENS_LL40LS_ENABLE 1 then + if pwm_input start + then + fi + + if ll40ls start pwm + then + fi fi #