AP_HAL_ESP32: pass UARTs to AP_HAL in SERIALn order

This commit is contained in:
Thomas Watson 2023-12-10 11:10:38 -06:00 committed by Andrew Tridgell
parent 90c14141a0
commit 574c8016c3
1 changed files with 2 additions and 2 deletions

View File

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