diff options
Diffstat (limited to 'nuttx/configs/z80sim/src/z80_serial.c')
-rw-r--r-- | nuttx/configs/z80sim/src/z80_serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/z80sim/src/z80_serial.c b/nuttx/configs/z80sim/src/z80_serial.c index 42b0eecc1..974b51b8f 100644 --- a/nuttx/configs/z80sim/src/z80_serial.c +++ b/nuttx/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 = up_lowgetc(); + uint8 ch = z80_getputc(); *status = 0; return ch; } @@ -267,7 +267,7 @@ static boolean up_rxavailable(struct uart_dev_s *dev) static void up_send(struct uart_dev_s *dev, int ch) { - up_lowputc(ch); + z80_lowputc(ch); } /**************************************************************************** @@ -358,7 +358,7 @@ void up_serialinit(void) int up_putc(int ch) { - up_lowputc(ch); + z80_lowputc(ch); return 0; } |