Add logging profiles to logger module.

This commit is contained in:
James Goppert
2017-07-06 09:02:13 +02:00
committed by Lorenz Meier
parent 2092770361
commit d10a491243
5 changed files with 76 additions and 15 deletions
+2 -5
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"