forked from Archive/PX4-Autopilot
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:
parent
8defe7e7d9
commit
ce106a8324
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue