mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user