mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00: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