From 3c1f0828b2a8a8eca9119fa6cb7e3397417268a3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 7 Nov 2008 20:08:06 +0000 Subject: [PATCH] Fix broken function all git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1158 42af7a65-404d-4744-a932-0658087f49c3 --- configs/z80sim/src/z80_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/z80sim/src/z80_serial.c b/configs/z80sim/src/z80_serial.c index 239e530fdf..242db137ff 100644 --- a/configs/z80sim/src/z80_serial.c +++ b/configs/z80sim/src/z80_serial.c @@ -227,7 +227,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) static int up_receive(struct uart_dev_s *dev, uint32 *status) { - uint8 ch = z80_getputc(); + uint8 ch = z80_lowgetc(); *status = 0; return ch; }