mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
logging: add SDLOG_MODE = -1 to disable logging completely
This commit is contained in:
@@ -24,4 +24,8 @@ then
|
||||
set LOGGER_ARGS "-f"
|
||||
fi
|
||||
|
||||
logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS}
|
||||
if ! param compare SDLOG_MODE -1
|
||||
then
|
||||
logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS}
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user