From 764b469e475f44e1dfd8bc262990d6322d10e684 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sun, 10 Dec 2023 11:12:06 -0600 Subject: [PATCH] AP_HAL_Linux: pass UARTs to AP_HAL in SERIALn order --- libraries/AP_HAL_Linux/HAL_Linux_Class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp b/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp index 6618e83bc3..e264ccbdb1 100644 --- a/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp +++ b/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp @@ -248,9 +248,9 @@ static CANIface* canDrivers[HAL_NUM_CAN_IFACES]; HAL_Linux::HAL_Linux() : AP_HAL::HAL( &uartADriver, - &uartBDriver, - &uartCDriver, + &uartCDriver, // ordering captures the historical use of uartB as SERIAL3 &uartDDriver, + &uartBDriver, &uartEDriver, &uartFDriver, &uartGDriver,