Fix some backward conditional compilation

This commit is contained in:
Gregory Nutt
2017-02-25 18:32:58 -06:00
parent abfb070ee1
commit 2238912507
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -84,7 +84,7 @@
# undef CONFIG_KINETIS_LPUART0
#endif
/* Are any UARTs enabled? */
/* Are any UARTs or LPUARTs enabled? */
#undef HAVE_UART_DEVICE
#if defined(CONFIG_KINETIS_UART0) || defined(CONFIG_KINETIS_UART1) || \
+2 -2
View File
@@ -1315,7 +1315,7 @@ void up_serialinit(void)
*
****************************************************************************/
#ifndef HAVE_UART_PUTC
#ifdef HAVE_UART_PUTC
int up_putc(int ch)
{
#ifdef HAVE_UART_CONSOLE
@@ -1350,7 +1350,7 @@ int up_putc(int ch)
*
****************************************************************************/
#ifndef HAVE_UART_PUTC
#ifdef HAVE_UART_PUTC
int up_putc(int ch)
{
#ifdef HAVE_UART_CONSOLE