Kinetis: Eliminate warning when USE_EARLYSERIALINIT is not defined

This commit is contained in:
Gregory Nutt 2017-03-05 14:06:20 -06:00
parent d3408809e4
commit 464a3cf27c

View File

@ -69,6 +69,7 @@
*
****************************************************************************/
#ifdef defined(USE_EARLYSERIALINIT)
void kinetis_earlyserialinit(void)
{
#if defined(HAVE_UART_DEVICE)
@ -83,6 +84,7 @@ void kinetis_earlyserialinit(void)
kinetis_lpuart_earlyserialinit();
#endif
}
#endif
#ifdef USE_SERIALDRIVER