From 574c8016c3da41314580cde7a3ac6647c382bbad Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sun, 10 Dec 2023 11:10:38 -0600 Subject: [PATCH] AP_HAL_ESP32: pass UARTs to AP_HAL in SERIALn order --- libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp b/libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp index 9a175a362f..096c8ab47a 100644 --- a/libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp +++ b/libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp @@ -73,9 +73,9 @@ extern const AP_HAL::HAL& hal; HAL_ESP32::HAL_ESP32() : AP_HAL::HAL( &cons, //Console/mavlink - &uartBDriver, //GPS 1 - &uartCDriver, //Telem 1 + &uartCDriver, //Telem 1, ordering captures the historical use of uartB as SERIAL3 &uartDDriver, //Telem 2 + &uartBDriver, //GPS 1 &uartEDriver, //GPS 2 &uartFDriver, //Extra 1 &uartGDriver, //Extra 2