Browse Source

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)
release/1.12
Daniel Agar 3 years ago
parent
commit
2e8918da66
No known key found for this signature in database
GPG Key ID: FD3CBA98017A69DE
  1. 7
      boards/cubepilot/cubeorange/init/rc.board_mavlink

7
boards/cubepilot/cubeorange/init/rc.board_mavlink

@ -6,5 +6,8 @@
# Start MAVLink on the USB port # Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0 mavlink start -d /dev/ttyACM0
# Start ADS-B receiver mavlink connection # Start ADS-B receiver mavlink connection if console not present
mavlink start -d /dev/ttyS4 if [ ! -e /dev/console ]
then
mavlink start -d /dev/ttyS4 -b 57600 -m minimal
fi

Loading…
Cancel
Save