AP_HAL_Linux: pass UARTs to AP_HAL in SERIALn order

This commit is contained in:
Thomas Watson 2023-12-10 11:12:06 -06:00 committed by Andrew Tridgell
parent 574c8016c3
commit 764b469e47

View File

@ -248,9 +248,9 @@ static CANIface* canDrivers[HAL_NUM_CAN_IFACES];
HAL_Linux::HAL_Linux() : HAL_Linux::HAL_Linux() :
AP_HAL::HAL( AP_HAL::HAL(
&uartADriver, &uartADriver,
&uartBDriver, &uartCDriver, // ordering captures the historical use of uartB as SERIAL3
&uartCDriver,
&uartDDriver, &uartDDriver,
&uartBDriver,
&uartEDriver, &uartEDriver,
&uartFDriver, &uartFDriver,
&uartGDriver, &uartGDriver,