mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
aerofc: Add autostart script
As ASC use a non-standard UART for mavlink it is necessary check for the board name and set SYS_AUTOSTART to initialize mavlink on the right interface otherwise there is no way to change the SYS_AUTOSTART.
This commit is contained in:
committed by
Lorenz Meier
parent
effdb37a2b
commit
15c75ebb40
@@ -179,6 +179,11 @@ then
|
||||
set USE_IO no
|
||||
fi
|
||||
|
||||
if ver hwcmp AEROFC_V1
|
||||
then
|
||||
param set SYS_AUTOSTART 4070
|
||||
fi
|
||||
|
||||
#
|
||||
# Set parameters and env variables for selected AUTOSTART
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user