mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AntennaTracker: use setup_uart()
This commit is contained in:
parent
35e87fa2ea
commit
9e7e2eb106
@ -35,9 +35,7 @@ static void init_tracker()
|
||||
check_usb_mux();
|
||||
|
||||
// we have a 2nd serial port for telemetry
|
||||
hal.uartC->begin(map_baudrate(g.serial1_baud, SERIAL1_BAUD),
|
||||
128, SERIAL1_BUFSIZE);
|
||||
gcs[1].init(hal.uartC);
|
||||
gcs[1].setup_uart(hal.uartC, map_baudrate(g.serial1_baud, SERIAL1_BAUD), 128, SERIAL1_BUFSIZE);
|
||||
|
||||
mavlink_system.sysid = g.sysid_this_mav;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user