Skip to content

Commit

Permalink
Fix FMUv3 startup script logic
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed Mar 30, 2016
1 parent c528c02 commit 936f6b6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ROMFS/px4fmu_common/init.d/rc.sensors
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ then
then
fi

if meas_airspeed start -b 2
then
fi

else
# FMUv2
if mpu6000 start
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 936f6b6

Please sign in to comment.