create board specific init script and use with fmu-v5

This commit is contained in:
Daniel Agar
2018-11-30 13:46:41 -05:00
parent 94d4f0391a
commit 25799c6e75
5 changed files with 80 additions and 45 deletions
+1 -3
View File
@@ -5,7 +5,6 @@
#
set LOGGER_ARGS ""
set LOGGER_BUF 14
if param greater UAVCAN_ENABLE 1
then
@@ -17,7 +16,7 @@ fi
# Begin Setup for board specific configurations. #
###############################################################################
if ver hwcmp PX4_FMU_V5 AV_X_V1
if ver hwcmp AV_X_V1
then
set LOGGER_BUF 64
fi
@@ -44,4 +43,3 @@ fi
logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS}
unset LOGGER_ARGS
unset LOGGER_BUF