rcS: merge 'ver hwcmp' for different boards, add V5 to px4flow

This commit is contained in:
Beat Küng 2018-01-09 15:25:51 +01:00
parent 92a667fca5
commit 48a6a98071
1 changed files with 1 additions and 18 deletions

View File

@ -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