mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
EFM32: Fix a compilation error
This commit is contained in:
committed by
Gregory Nutt
parent
a7b688e87b
commit
017773eda3
@@ -281,7 +281,8 @@ static void efm32_leuart_setbaud(uintptr_t base, uint32_t baud)
|
||||
|
||||
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;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user