Disable the safety switch by default on Pixracer

This disables the safety switch when Pixracer is configured. It does not change existing setups and it can be re-enabled after. This might be the more sensible default for a racing board.
This commit is contained in:
Lorenz Meier 2016-12-26 19:30:14 +01:00
parent 8defe7e7d9
commit ce106a8324
1 changed files with 5 additions and 0 deletions

View File

@ -287,6 +287,11 @@ then
#
if [ $AUTOCNF == yes ]
then
# Disable safety switch by default on Pixracer
if ver hwcmp PX4FMU_V4
then
param set CBRK_IO_SAFETY 22027
fi
param set SYS_AUTOCONFIG 0
fi
unset AUTOCNF