mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] rymanluk closed pull request #767: nimble/ll_dtm: Couple of fixes for DTM code
Date Thu, 01 Jan 1970 00:00:00 GMT
rymanluk closed pull request #767: nimble/ll_dtm: Couple of fixes for DTM code

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/net/nimble/controller/src/ble_ll_dtm.c b/net/nimble/controller/src/ble_ll_dtm.c
index 487b4e90e..a3884669b 100644
--- a/net/nimble/controller/src/ble_ll_dtm.c
+++ b/net/nimble/controller/src/ble_ll_dtm.c
@@ -314,6 +314,12 @@ ble_ll_dtm_rx_start(void)
+    if (ble_ll_xcvr_rfclk_state() == BLE_RFCLK_STATE_OFF) {
+        ble_ll_xcvr_rfclk_start_now(os_cputime_get32());
+    }
     return 0;
diff --git a/net/nimble/controller/src/ble_ll_sched.c b/net/nimble/controller/src/ble_ll_sched.c
index 9530d906b..8b44025f1 100644
--- a/net/nimble/controller/src/ble_ll_sched.c
+++ b/net/nimble/controller/src/ble_ll_sched.c
@@ -1480,7 +1480,7 @@ int ble_ll_sched_dtm(struct ble_ll_sched_item *sch)
     sch = TAILQ_FIRST(&g_ble_ll_sched_q);
-        ble_ll_xcvr_rfclk_timer_start(sch->start_time);
+    ble_ll_xcvr_rfclk_timer_start(sch->start_time);


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message