diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-29 13:21:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-29 13:21:30 +0000 |
commit | b921060d2733864ee118e88c24d7ae4f792f0901 (patch) | |
tree | 975d410211508cd23ba8e91ffa3b21b0355df328 /nuttx/arch/z80 | |
parent | 8617a446eb7c2445cdbdaf23ec20aee16d6c8add (diff) | |
download | px4-nuttx-b921060d2733864ee118e88c24d7ae4f792f0901.tar.gz px4-nuttx-b921060d2733864ee118e88c24d7ae4f792f0901.tar.bz2 px4-nuttx-b921060d2733864ee118e88c24d7ae4f792f0901.zip |
Add one more font; Fix ez80 serial bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3825 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80')
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_serial.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/z80/src/ez80/ez80_serial.c b/nuttx/arch/z80/src/ez80/ez80_serial.c index e6eaabd0c..7b3ea7409 100644 --- a/nuttx/arch/z80/src/ez80/ez80_serial.c +++ b/nuttx/arch/z80/src/ez80/ez80_serial.c @@ -210,7 +210,7 @@ static uart_dev_t g_uart1port = 0, /* recv.head */ 0, /* recv.tail */ CONFIG_UART1_RXBUFSIZE, /* recv.size */ - g_uart0rxbuffer, /* recv.buffer */ + g_uart1rxbuffer, /* recv.buffer */ }, &g_uart_ops, /* ops */ &g_uart1priv, /* priv */ @@ -219,24 +219,24 @@ static uart_dev_t g_uart1port = /* Now, which one with be tty0/console and which tty1? */ -#if defined(CONFIG_UART0_SERIAL_CONSOLE) && !defined(CONFIG_DISABLE_UART0) +#if defined(CONFIG_UART0_SERIAL_CONSOLE) && !defined(CONFIG_UART0_DISABLE) # define CONSOLE_DEV g_uart0port # define TTYS0_DEV g_uart0port # if !defined(CONFIG_UART1_DISABLE) # define TTYS1_DEV g_uart1port # endif -#elif defined(CONFIG_UART1_SERIAL_CONSOLE) && !defined(CONFIG_DISABLE_UART1) +#elif defined(CONFIG_UART1_SERIAL_CONSOLE) && !defined(CONFIG_UART1_DISABLE) # define CONSOLE_DEV g_uart1port # define TTYS0_DEV g_uart1port # if !defined(CONFIG_UART0_DISABLE) # define TTYS1_DEV g_uart0port # endif -#elif !defined(CONFIG_DISABLE_UART0) +#elif !defined(CONFIG_UART0_DISABLE) # define TTYS0_DEV g_uart0port # if !defined(CONFIG_UART1_DISABLE) # define TTYS1_DEV g_uart1port # endif -#elif !defined(CONFIG_DISABLE_UART0) +#elif !defined(CONFIG_UART0_DISABLE) # define TTYS0_DEV g_uart1port #endif |