GCS_Console: fix example sketch after mavlink_comm_port to array

This commit is contained in:
Randy Mackay 2015-05-15 14:40:47 +09:00
parent 85eeba93c0
commit 763c671d0a
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void setup(void) {
hal.uartA->begin(115200, 128, 256);
/* Setup GCS_Mavlink library's comm 0 port. */
mavlink_comm_0_port = hal.uartA;
mavlink_comm_port[0] = hal.uartA;
char hello[] = "Hello statustext\r\n";
try_send_statustext(MAVLINK_COMM_0, hello, strlen(hello));