From 48a6a98071a258eb3e4c33b1e5954e84daee51fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 9 Jan 2018 15:25:51 +0100 Subject: [PATCH] rcS: merge 'ver hwcmp' for different boards, add V5 to px4flow --- ROMFS/px4fmu_common/init.d/rcS | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 3a1686a67e..49aa48966f 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -676,29 +676,12 @@ then frsky_telemetry start -d /dev/ttyS6 fi - if ver hwcmp PX4FMU_V2 + if ver hwcmp PX4FMU_V2 PX4FMU_V4 PX4FMU_V4PRO MINDPX_V2 PX4FMU_V5 then # Check for flow sensor - as it is a background task, launch it last px4flow start & fi - if ver hwcmp PX4FMU_V4 - then - # Check for flow sensor - as it is a background task, launch it last - px4flow start & - fi - - if ver hwcmp PX4FMU_V4PRO - then - # Check for flow sensor - as it is a background task, launch it last - px4flow start & - fi - - if ver hwcmp MINDPX_V2 - then - px4flow start & - fi - if ver hwcmp AEROFC_V1 then # don't start mavlink ttyACM0 on aerofc_v1