diff options
author | Daniel Jackson <email@danieljackson.co.uk> | 2021-09-25 23:48:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-25 23:48:53 +0100 |
commit | d7ca217872307357200e32ad679786d8f3396ca0 (patch) | |
tree | 67b299ce13cf4b47211a3f02a0a39e1e581bd981 /src/drivers/Bma421_C/bma4_defs.h | |
parent | 8a2b86dc8376d915b664a301465f7a5ef675b66f (diff) |
Correctly return the tick at which the RF will be fully enabled.
Always returning 0 (when `MYNEWT_VAL_BLE_LL_RFMGMT_ENABLE_TIME` is not defined), rather than a time near to the current tick, causes an issue in at least one place: `ble_ll_adv_sm_start()`, where the calculation of `delta` overflows when the system timer is at 0x80000000 or above -- causing an incorrect, huge adjustment to be made to the scheduled time, ultimately stopping adverts from being sent.
Diffstat (limited to 'src/drivers/Bma421_C/bma4_defs.h')
0 files changed, 0 insertions, 0 deletions