ROMFS: aerofc: Only start logger with MAVLink support

AeroFC don't have SDCard to store logs.
This commit is contained in:
José Roberto de Souza 2017-01-25 14:03:57 -08:00 committed by Lorenz Meier
parent 340be986a6
commit 37f73bb0ed
1 changed files with 4 additions and 0 deletions

View File

@ -806,6 +806,10 @@ then
then
set LOGGER_ARGS "-f"
fi
if ver hwcmp AEROFC_V1
then
set LOGGER_ARGS "-m mavlink"
fi
if logger start -b 12 -t ${LOGGER_ARGS}
then
fi