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:
parent
d57ef5660b
commit
3c1f0828b2
|
@ -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)
|
static int up_receive(struct uart_dev_s *dev, uint32 *status)
|
||||||
{
|
{
|
||||||
uint8 ch = z80_getputc();
|
uint8 ch = z80_lowgetc();
|
||||||
*status = 0;
|
*status = 0;
|
||||||
return ch;
|
return ch;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue