diff --git a/libraries/AP_HAL/examples/UART_test/UART_test.cpp b/libraries/AP_HAL/examples/UART_test/UART_test.cpp index 8fd4d3f240..42643b6fbd 100644 --- a/libraries/AP_HAL/examples/UART_test/UART_test.cpp +++ b/libraries/AP_HAL/examples/UART_test/UART_test.cpp @@ -10,12 +10,6 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL(); -static AP_HAL::UARTDriver* uarts[] = { - hal.uartA, // console -}; -#define NUM_UARTS (sizeof(uarts)/sizeof(uarts[0])) - - /* setup one UART at 57600 */