summaryrefslogtreecommitdiff
path: root/nuttx/configs/z80sim/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-15 22:14:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-15 22:14:00 +0000
commit9d4e6e52c0b1a23976462980afabc6989de7087d (patch)
tree5914e4e3c75aca5f1f8dd36695c996ce2ff157bd /nuttx/configs/z80sim/src
parent69d1994f373207da231b4eb571cc1eab0aab6083 (diff)
downloadpx4-nuttx-9d4e6e52c0b1a23976462980afabc6989de7087d.tar.gz
px4-nuttx-9d4e6e52c0b1a23976462980afabc6989de7087d.tar.bz2
px4-nuttx-9d4e6e52c0b1a23976462980afabc6989de7087d.zip
Add support for the TRS-80 Model 3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@690 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z80sim/src')
-rw-r--r--nuttx/configs/z80sim/src/z80_serial.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nuttx/configs/z80sim/src/z80_serial.c b/nuttx/configs/z80sim/src/z80_serial.c
index 8bc1b02b4..b5a0c6863 100644
--- a/nuttx/configs/z80sim/src/z80_serial.c
+++ b/nuttx/configs/z80sim/src/z80_serial.c
@@ -346,7 +346,7 @@ void up_serialinit(void)
{
#if defined(CONFIG_DEV_LOWCONSOLE)
(void)lowconsole_init();
-#elif defiened(CONFIG_DEV_CONSOLE)
+#elif defined(CONFIG_DEV_CONSOLE)
(void)uart_register("/dev/console", &g_uartport);
(void)uart_register("/dev/ttyS0", &g_uartport);
#endif
@@ -368,6 +368,3 @@ int up_putc(int ch)
return 0;
}
-
-
-