AP_SerialManager: clarify comment regarding legacy UART order

This commit is contained in:
Thomas Watson 2023-12-11 13:03:32 -06:00 committed by Andrew Tridgell
parent ae7170501d
commit cc5b095d59

View File

@ -27,8 +27,7 @@
#if HAL_UART_NUM_SERIAL_PORTS >= 4 #if HAL_UART_NUM_SERIAL_PORTS >= 4
#define SERIALMANAGER_NUM_PORTS HAL_UART_NUM_SERIAL_PORTS #define SERIALMANAGER_NUM_PORTS HAL_UART_NUM_SERIAL_PORTS
#else #else
// we need a minimum of 4 to allow for a GPS due to the odd ordering // we want a minimum of 4 as the default GPS port is SERIAL3
// of hal.uartB as SERIAL3
#define SERIALMANAGER_NUM_PORTS 4 #define SERIALMANAGER_NUM_PORTS 4
#endif #endif
#else #else