AP_HAL: fix unused variable

../../libraries/AP_HAL/examples/UART_test/UART_test.cpp:13:28: warning: ‘uarts’ defined but not used [-Wunused-variable]
 static AP_HAL::UARTDriver* uarts[] = {
                            ^
This commit is contained in:
Lucas De Marchi 2016-02-18 02:26:31 -02:00
parent cc626d2fc7
commit 1f072c4353

View File

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