Skip to content

Commit fc922b6

Browse files
authored
Merge pull request #688 from danielgjackson/fix-advertising-18-hours
Fix advertising packets stopping after 18.2 hours
2 parents d03db14 + d7ca217 commit fc922b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/mynewt-nimble/nimble/controller/include/controller/ble_ll_rfmgmt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static inline void ble_ll_rfmgmt_reset(void) { }
5151
static inline void ble_ll_rfmgmt_scan_changed(bool e, uint32_t n) { }
5252
static inline void ble_ll_rfmgmt_sched_changed(struct ble_ll_sched_item *f) { }
5353
static inline void ble_ll_rfmgmt_release(void) { }
54-
static inline uint32_t ble_ll_rfmgmt_enable_now(void) { return 0; }
54+
static inline uint32_t ble_ll_rfmgmt_enable_now(void) { return os_cputime_get32(); }
5555
static inline bool ble_ll_rfmgmt_is_enabled(void) { return true; }
5656

5757
#endif

0 commit comments

Comments
 (0)