aerofc: start mavlink on ttyS4

This commit is contained in:
Lucas De Marchi
2016-11-10 21:38:41 -02:00
committed by Lorenz Meier
parent 4989f8d40a
commit 6af31a109f
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -522,6 +522,11 @@ then
# Start MAVLink on Wifi (ESP8266 port)
mavlink start -r 20000 -m config -b 921600 -d /dev/ttyS0
fi
if ver hwcmp AEROFC_V1
then
set MAVLINK_F "-r 1200 -d /dev/ttyS4"
fi
fi
if ver hwcmp CRAZYFLIE
+3
View File
@@ -232,6 +232,9 @@
#define GPIO_UART4_CTS 0 // unused
#define GPIO_UART4_RTS 0 // unused
// Mavlink
// UART5
// Serial console
#define GPIO_USART6_TX GPIO_USART6_TX_1
#define GPIO_USART6_RX GPIO_USART6_RX_1