diff options
author | JF002 <JF002@users.noreply.github.com> | 2021-09-28 20:15:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 20:15:39 +0200 |
commit | fc922b607c5c8eff37c2196f7f4212eb18c9363d (patch) | |
tree | a26b56656ee91540e6b5e9a37fa546dbadba9d01 /src/libs/mynewt-nimble/nimble | |
parent | d03db14129b4f8cc2e691dd6f9e8d8d1ed52b7a1 (diff) | |
parent | d7ca217872307357200e32ad679786d8f3396ca0 (diff) |
Merge pull request #688 from danielgjackson/fix-advertising-18-hours
Fix advertising packets stopping after 18.2 hours
Diffstat (limited to 'src/libs/mynewt-nimble/nimble')
-rw-r--r-- | src/libs/mynewt-nimble/nimble/controller/include/controller/ble_ll_rfmgmt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/mynewt-nimble/nimble/controller/include/controller/ble_ll_rfmgmt.h b/src/libs/mynewt-nimble/nimble/controller/include/controller/ble_ll_rfmgmt.h index 37b81a88..5e2d636f 100644 --- a/src/libs/mynewt-nimble/nimble/controller/include/controller/ble_ll_rfmgmt.h +++ b/src/libs/mynewt-nimble/nimble/controller/include/controller/ble_ll_rfmgmt.h @@ -51,7 +51,7 @@ static inline void ble_ll_rfmgmt_reset(void) { } static inline void ble_ll_rfmgmt_scan_changed(bool e, uint32_t n) { } static inline void ble_ll_rfmgmt_sched_changed(struct ble_ll_sched_item *f) { } static inline void ble_ll_rfmgmt_release(void) { } -static inline uint32_t ble_ll_rfmgmt_enable_now(void) { return 0; } +static inline uint32_t ble_ll_rfmgmt_enable_now(void) { return os_cputime_get32(); } static inline bool ble_ll_rfmgmt_is_enabled(void) { return true; } #endif |