Kinetis:Fixed unused warning

This commit is contained in:
David Sidrane 2017-02-27 11:15:44 -10:00
parent 4bdf732fc7
commit b9dcedf289

View File

@ -222,8 +222,10 @@ void up_lowputc(char ch)
void kinetis_lowsetup(void)
{
#ifdef HAVE_UART_DEVICE
#if defined(HAVE_UART_DEVICE) ||defined(HAVE_LUART_DEVICE)
uint32_t regval;
#endif
#ifdef HAVE_UART_DEVICE
/* Enable peripheral clocking for all enabled UARTs. Clocking for UARTs
* 0-3 is enabled in the SCGC4 register.