logger: add arming/disarming via AUX1 RC channel logging mode

This commit is contained in:
Beat Küng
2019-04-17 07:07:46 +02:00
parent 721f9f901f
commit ed9d25a75a
4 changed files with 114 additions and 49 deletions

View File

@@ -27,6 +27,11 @@ then
set LOGGER_ARGS "-f"
fi
if param compare SDLOG_MODE 3
then
set LOGGER_ARGS "-x"
fi
if ! param compare SDLOG_MODE -1
then
logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS}