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:
Łukasz Rymanowski
2018-02-05 06:50:39 -08:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -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;
}
+1 -1
View File
@@ -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);