From 507ab623b23fda0043f0eba8bc5823ca9493062b Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sun, 10 Dec 2023 11:06:16 -0600 Subject: [PATCH] AP_HAL_ChibiOS: pass UARTs to AP_HAL in SERIALn order --- libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp b/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp index 46b352e564..a481977b02 100644 --- a/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp +++ b/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp @@ -137,9 +137,9 @@ AP_IOMCU iomcu(uart_io); HAL_ChibiOS::HAL_ChibiOS() : AP_HAL::HAL( &uartADriver, - &uartBDriver, - &uartCDriver, + &uartCDriver, // ordering captures the historical use of uartB as SERIAL3 &uartDDriver, + &uartBDriver, &uartEDriver, &uartFDriver, &uartGDriver,