Fix some backward conditional compilation
This commit is contained in:
parent
abfb070ee1
commit
2238912507
@ -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) || \
|
||||
|
@ -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
|
||||
|
@ -56,14 +56,14 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define DEV_FORMAT "/dev/wireless%d" /* The device Name*/
|
||||
#define DEV_NAMELEN 17 /* The buffer size to hold formatted string*/
|
||||
#define DEV_FORMAT "/dev/wireless%d" /* The device Name*/
|
||||
#define DEV_NAMELEN 17 /* The buffer size to hold formatted string*/
|
||||
|
||||
#define QUEUE_FORMAT "wlq%d" /* The Queue name */
|
||||
#define QUEUE_NAMELEN 8 /* The buffer size to hold formatted string*/
|
||||
#define QUEUE_FORMAT "wlq%d" /* The Queue name */
|
||||
#define QUEUE_NAMELEN 8 /* The buffer size to hold formatted string*/
|
||||
|
||||
#define SEM_FORMAT "wls%d" /* The Spi Resume Senaphore name*/
|
||||
#define SEM_NAMELEN 8 /* The buffer size to hold formatted string*/
|
||||
#define SEM_FORMAT "wls%d" /* The Spi Resume Senaphore name*/
|
||||
#define SEM_NAMELEN 8 /* The buffer size to hold formatted string*/
|
||||
|
||||
/* IOCTL commands */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user