mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Add logging profiles to logger module.
This commit is contained in:
committed by
Lorenz Meier
parent
2092770361
commit
d10a491243
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user