mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
boards: cubepilot_cubeorange only start ADSB mavlink if console not present
- cubepilot_cubeorange_test has the console enabled (used for test rack and bench debugging)
This commit is contained in:
parent
5def17b1af
commit
2e8918da66
@ -6,5 +6,8 @@
|
||||
# Start MAVLink on the USB port
|
||||
mavlink start -d /dev/ttyACM0
|
||||
|
||||
# Start ADS-B receiver mavlink connection
|
||||
mavlink start -d /dev/ttyS4
|
||||
# Start ADS-B receiver mavlink connection if console not present
|
||||
if [ ! -e /dev/console ]
|
||||
then
|
||||
mavlink start -d /dev/ttyS4 -b 57600 -m minimal
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user