mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: remove references to legacy UART order
This commit is contained in:
parent
ebbcf42236
commit
bcfad0d712
|
@ -38,7 +38,7 @@ uint16_t buflen = 0;
|
|||
|
||||
void setup(void)
|
||||
{
|
||||
hal.scheduler->delay(1000); //Ensure that the uartA can be initialized
|
||||
hal.scheduler->delay(1000); //Ensure that hal.serial(n) can be initialized
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
uart = hal.serial(0); // console
|
||||
|
|
|
@ -30,7 +30,7 @@ void setup(void)
|
|||
start all UARTs at 57600 with default buffer sizes
|
||||
*/
|
||||
|
||||
hal.scheduler->delay(1000); //Ensure that the uartA can be initialized
|
||||
hal.scheduler->delay(1000); //Ensure that hal.serial(n) can be initialized
|
||||
|
||||
setup_uart(hal.serial(0), "SERIAL0"); // console
|
||||
setup_uart(hal.serial(1), "SERIAL1"); // telemetry 1
|
||||
|
|
Loading…
Reference in New Issue