File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,19 @@ using namespace ble::vendor::cordio;
92
92
// The BB_ config macros are set in the bb_api.h header file
93
93
const BbRtCfg_t NRFCordioHCIDriver::_bb_cfg = {
94
94
/* clkPpm*/ 20 ,
95
- /* rfSetupDelayUsec*/ BB_RF_SETUP_DELAY_US,
96
- /* maxScanPeriodMsec*/ BB_MAX_SCAN_PERIOD_MS,
97
- /* schSetupDelayUsec*/ BB_SCH_SETUP_DELAY_US
95
+ /* rfSetupDelayUs*/ BB_RF_SETUP_DELAY_US,
96
+ /* maxScanPeriodMs*/ BB_MAX_SCAN_PERIOD_MS,
97
+ /* schSetupDelayUs*/ BB_SCH_SETUP_DELAY_US,
98
+ /* BbTimerBoundaryUs*/
99
+ #if (BB_CLK_RATE_HZ == 32768)
100
+ BB_RTC_MAX_VALUE_US
101
+ #elif (BB_CLK_RATE_HZ == 8000000)
102
+ BB_TIMER_8MHZ_MAX_VALUE_US
103
+ #elif (BB_CLK_RATE_HZ == 1000000)
104
+ BB_TIMER_1MHZ_MAX_VALUE_US
105
+ #else
106
+ #error "Unsupported platform."
107
+ #endif
98
108
};
99
109
100
110
/* +12 for message headroom, + 2 event header, +255 maximum parameter length. */
You can’t perform that action at this time.
0 commit comments