mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-09 10:40:04 +00:00
nimble/ll: Fix RX timing on DTM
There is no need to delay RX restart by scheduler delay since it's not called from scheduler - we can start asap.
This commit is contained in:
committed by
Łukasz Rymanowski
parent
8f33b429d5
commit
4b42447f4b
@@ -373,8 +373,7 @@ ble_ll_dtm_rx_start(void)
|
||||
#endif
|
||||
|
||||
OS_ENTER_CRITICAL(sr);
|
||||
rc = ble_phy_rx_set_start_time(os_cputime_get32() +
|
||||
g_ble_ll_sched_offset_ticks, 0);
|
||||
rc = ble_phy_rx_set_start_time(os_cputime_get32(), 0);
|
||||
OS_EXIT_CRITICAL(sr);
|
||||
if (rc && rc != BLE_PHY_ERR_RX_LATE) {
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user