Kinetis:Fixed unused warning
This commit is contained in:
parent
4bdf732fc7
commit
b9dcedf289
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user