uart: nrfx: fix config check
we should be checking for config, not data. Fixes #78114 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
1b4c47ab28
commit
5fdbbf7d7e
1 changed files with 1 additions and 1 deletions
|
@ -1306,7 +1306,7 @@ static void rxto_isr(const struct device *dev)
|
|||
|
||||
data->async->discard_rx_fifo = false;
|
||||
flushed = rx_flush(dev, NULL, 0);
|
||||
if (HW_RX_COUNTING_ENABLED(data)) {
|
||||
if (HW_RX_COUNTING_ENABLED(config)) {
|
||||
/* It need to be included because TIMER+PPI got RXDRDY events
|
||||
* and counted those flushed bytes.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue