Add logging profiles to logger module.

This commit is contained in:
James Goppert
2017-06-29 07:32:30 -04:00
committed by Lorenz Meier
parent 2092770361
commit d10a491243
5 changed files with 76 additions and 15 deletions

View File

@@ -871,7 +871,8 @@ then
if ver hwcmp PX4FMU_V5
then
set LOGGER_BUF 64
param set SDLOG_MODE 3
param set SDLOG_MODE 2
param set SDLOG_PROFILE 2
fi
if param compare SDLOG_MODE 1
then
@@ -881,10 +882,6 @@ then
then
set LOGGER_ARGS "-f"
fi
if param compare SDLOG_MODE 3
then
set LOGGER_ARGS "-f"
fi
if ver hwcmp AEROFC_V1
then
set LOGGER_ARGS "-m mavlink"