AP_HAL: remove references to legacy UART order

This commit is contained in:
Thomas Watson 2023-12-11 11:02:15 -06:00 committed by Andrew Tridgell
parent ebbcf42236
commit bcfad0d712
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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