EFM32: Fix a compilation error

This commit is contained in:
Pierre-noel Bouteville
2016-12-07 09:13:13 -06:00
committed by Gregory Nutt
parent a7b688e87b
commit 017773eda3
+2 -1
View File
@@ -281,7 +281,8 @@ static void efm32_leuart_setbaud(uintptr_t base, uint32_t baud)
void efm32_lowsetup(void) void efm32_lowsetup(void)
{ {
#if defined(HAVE_UART_DEVICE) || defined(HAVE_LEUART_DEVICE) #if defined(HAVE_UART_DEVICE) || defined(HAVE_LEUART_DEVICE) || \
defined(HAVE_SPI_DEVICE)
uint32_t regval; uint32_t regval;
#endif #endif