File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,17 @@ const BbRtCfg_t NRFCordioHCIDriver::_bb_cfg = {
9494 /* clkPpm*/ 20 ,
9595 /* rfSetupDelayUs*/ BB_RF_SETUP_DELAY_US,
9696 /* maxScanPeriodMs*/ BB_MAX_SCAN_PERIOD_MS,
97- /* schSetupDelayUs;*/ BB_SCH_SETUP_DELAY_US,
98- /* BbTimerBoundaryUs;*/ BB_TIMER_8MHZ_MAX_VALUE_US
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
99108};
100109
101110/* +12 for message headroom, + 2 event header, +255 maximum parameter length. */
You can’t perform that action at this time.
0 commit comments