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.
1 parent 9628ecd commit 595fbf9Copy full SHA for 595fbf9
drivers/serial/uart_nrfx_uarte.c
@@ -662,19 +662,15 @@ static int uarte_nrfx_rx_counting_init(const struct device *dev)
662
nrfx_timer_enable(&cfg->timer);
663
nrfx_timer_clear(&cfg->timer);
664
}
665
- }
666
667
- if (HW_RX_COUNTING_ENABLED(data)) {
668
ret = gppi_channel_alloc(&data->async->rx_cnt.ppi);
669
if (ret != NRFX_SUCCESS) {
670
LOG_ERR("Failed to allocate PPI Channel, "
671
"switching to software byte counting.");
672
data->async->hw_rx_counting = false;
673
nrfx_timer_uninit(&cfg->timer);
674
675
676
677
678
#if CONFIG_HAS_HW_NRF_PPI
679
ret = nrfx_ppi_channel_assign(
680
data->async->rx_cnt.ppi,
0 commit comments