Skip to content

Commit 783f815

Browse files
jenmwmsnashif
authored andcommitted
include: drivers: uart: fix incorrect event name in brief
The use of UART_RX_DONE was incorrect/invalid (the event does not exist). This corrects the reference to UART_RX_RDY. Fixes #31207 Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
1 parent 5b8d79f commit 783f815

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/drivers/uart.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ enum uart_line_ctrl {
4949
*
5050
* - Provide second buffer using uart_rx_buf_rsp, when first buffer is
5151
* filled, receiving will automatically start to second buffer.
52-
* - Ignore the event, this way when current buffer is filled UART_RX_DONE
53-
* event will be generated and receiving will be stopped.
52+
* - Ignore the event, this way when current buffer is filled
53+
* @ref uart_event_type::UART_RX_RDY event will be generated and
54+
* receiving will be stopped.
5455
*
5556
* 3. If some data was received and timeout occurred
5657
* @ref uart_event_type::UART_RX_RDY event will be generated. It can happen

0 commit comments

Comments
 (0)