mirror of
https://github.com/apache/nuttx.git
synced 2026-08-11 07:25:13 +00:00
Kinetis:Fixed unused warning
This commit is contained in:
parent
4bdf732fc7
commit
b9dcedf289
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue