summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/z8/z8_lowuart.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-18 18:53:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-18 18:53:07 +0000
commit6df6162e40f9b1c5ed1d3c42585baf3e1a2be161 (patch)
tree1e3232b7b319d914681e0b5994e7bb655669ee6a /nuttx/arch/z80/src/z8/z8_lowuart.c
parent13ecead34f2276518c3d4fe9a3b99799a147f429 (diff)
downloadpx4-nuttx-6df6162e40f9b1c5ed1d3c42585baf3e1a2be161.tar.gz
px4-nuttx-6df6162e40f9b1c5ed1d3c42585baf3e1a2be161.tar.bz2
px4-nuttx-6df6162e40f9b1c5ed1d3c42585baf3e1a2be161.zip
Low uart fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@710 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/z8/z8_lowuart.c')
-rw-r--r--nuttx/arch/z80/src/z8/z8_lowuart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z80/src/z8/z8_lowuart.c b/nuttx/arch/z80/src/z8/z8_lowuart.c
index bfcb26aae..e18c4b5d1 100644
--- a/nuttx/arch/z80/src/z8/z8_lowuart.c
+++ b/nuttx/arch/z80/src/z8/z8_lowuart.c
@@ -102,7 +102,7 @@ void up_lowuartinit(void)
putreg8(0x00, PAADDR);
putreg8(0x00, U0CTL1); /* no multi-processor operation mode */
- putreg8(0x00, U0CTL0); /* Transmit enable, Receive enable, no Parity, 1 Stop bit */
+ putreg8(0xc0, U0CTL0); /* Transmit enable, Receive enable, no Parity, 1 Stop bit */
#elif defined(EZ8_UART1) && defined(CONFIG_UART1_SERIAL_CONSOLE)
/* Set the baudrate */
@@ -124,7 +124,7 @@ void up_lowuartinit(void)
putreg8(0x00, PDADDR);
putreg8(0x00, U1CTL1); /* no multi-processor operation mode */
- putreg8(0x00, U1CTL0); /* Transmit enable, Receive enable, no Parity, 1 Stop bit */
+ putreg8(0xc0, U1CTL0); /* Transmit enable, Receive enable, no Parity, 1 Stop bit */
#endif
}
#endif /* CONFIG_USE_LOWUARTINIT */ \ No newline at end of file