We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00696e6 + a0243cd commit e00850dCopy full SHA for e00850d
targets/TARGET_Maxim/TARGET_MAX32620/serial_api.c
@@ -323,7 +323,7 @@ void serial_putc(serial_t *obj, int c)
323
//******************************************************************************
324
int serial_readable(serial_t *obj)
325
{
326
- return (obj->uart->intfl & MXC_F_UART_INTFL_RX_FIFO_NOT_EMPTY);
+ return (obj->uart->rx_fifo_ctrl & MXC_F_UART_RX_FIFO_CTRL_FIFO_ENTRY);
327
}
328
329
0 commit comments