mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-05 08:40:01 +00:00
Merge pull request #767 from rymanluk/dtm_fix
nimble/ll_dtm: Couple of fixes for DTM code X-Original-Commit: 1d8a02189a051524eea9122f20e7ec697fb9a662
This commit is contained in:
@@ -323,6 +323,12 @@ ble_ll_dtm_rx_start(void)
|
||||
|
||||
ble_ll_state_set(BLE_LL_STATE_DTM);
|
||||
|
||||
#ifdef BLE_XCVR_RFCLK
|
||||
if (ble_ll_xcvr_rfclk_state() == BLE_RFCLK_STATE_OFF) {
|
||||
ble_ll_xcvr_rfclk_start_now(os_cputime_get32());
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1480,7 +1480,7 @@ done:
|
||||
sch = TAILQ_FIRST(&g_ble_ll_sched_q);
|
||||
|
||||
#ifdef BLE_XCVR_RFCLK
|
||||
ble_ll_xcvr_rfclk_timer_start(sch->start_time);
|
||||
ble_ll_xcvr_rfclk_timer_start(sch->start_time);
|
||||
#endif
|
||||
|
||||
OS_EXIT_CRITICAL(sr);
|
||||
|
||||
Reference in New Issue
Block a user