diff options
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.usb')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.usb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.usb b/ROMFS/px4fmu_common/init.d/rc.usb new file mode 100644 index 000000000..31af3991a --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/rc.usb @@ -0,0 +1,14 @@ +#!nsh +# +# USB MAVLink start +# + +echo "Starting MAVLink on this USB console" + +# Tell MAVLink that this link is "fast" +mavlink start -b 230400 -d /dev/console + +echo "MAVLink started, exiting shell.." + +# Exit shell to make it available to MAVLink +exit |