mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 02:51:36 +08:00
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:
@@ -287,6 +287,11 @@ then
|
|||||||
#
|
#
|
||||||
if [ $AUTOCNF == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
then
|
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
|
param set SYS_AUTOCONFIG 0
|
||||||
fi
|
fi
|
||||||
unset AUTOCNF
|
unset AUTOCNF
|
||||||
|
|||||||
Reference in New Issue
Block a user