mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-10 00:07:23 +00:00
nimble/ll: Replace BLE_NUM_COMP_PKT_RATE with an interval in ms
Using an OS specific define in MYNEWT_VAL can be cumbersome when porting to other systems. Replace this value with universal interval in milliseconds.
This commit is contained in:
@@ -594,8 +594,8 @@
|
||||
#define MYNEWT_VAL_BLE_LP_CLOCK (1)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_NUM_COMP_PKT_RATE
|
||||
#define MYNEWT_VAL_BLE_NUM_COMP_PKT_RATE ((2 * 128)) /* XXX */
|
||||
#ifndef MYNEWT_VAL_BLE_LL_NUM_COMP_PKT_ITVL_MS
|
||||
#define MYNEWT_VAL_BLE_LL_NUM_COMP_PKT_ITVL_MS (2000)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_PUBLIC_DEV_ADDR
|
||||
|
||||
Reference in New Issue
Block a user