From 936f6b6eb75b2e4fa0bdea70b5eac44e2a018ca4 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 30 Mar 2016 19:45:12 +0200 Subject: [PATCH] Fix FMUv3 startup script logic --- ROMFS/px4fmu_common/init.d/rc.sensors | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 795318eb2ef1..8cd1221ca99f 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -69,6 +69,10 @@ then then fi + if meas_airspeed start -b 2 + then + fi + else # FMUv2 if mpu6000 start @@ -169,11 +173,6 @@ else else if ets_airspeed start -b 1 then - else - if [ $BOARD_FMUV3 == true ] - then - meas_airspeed start -b 2 - fi fi fi fi