Skip to content

Commit 5fdbbf7

Browse files
committed
uart: nrfx: fix config check
we should be checking for config, not data. Fixes #78114 Signed-off-by: Anas Nashif <[email protected]>
1 parent 1b4c47a commit 5fdbbf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/serial/uart_nrfx_uarte.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ static void rxto_isr(const struct device *dev)
13061306

13071307
data->async->discard_rx_fifo = false;
13081308
flushed = rx_flush(dev, NULL, 0);
1309-
if (HW_RX_COUNTING_ENABLED(data)) {
1309+
if (HW_RX_COUNTING_ENABLED(config)) {
13101310
/* It need to be included because TIMER+PPI got RXDRDY events
13111311
* and counted those flushed bytes.
13121312
*/

0 commit comments

Comments
 (0)