Skip to content

Commit

Permalink
boards: cubepilot_cubeorange only start ADSB mavlink if console not p…
Browse files Browse the repository at this point in the history
…resent

 - cubepilot_cubeorange_test has the console enabled (used for test rack and bench debugging)
  • Loading branch information
dagar committed Sep 6, 2021
1 parent 5def17b commit 2e8918d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions boards/cubepilot/cubeorange/init/rc.board_mavlink
Expand Up @@ -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

0 comments on commit 2e8918d

Please sign in to comment.