Fix broken function all

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1158 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-11-07 20:08:06 +00:00
parent d57ef5660b
commit 3c1f0828b2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}