bluetooth: controller: conditionally define macros for LE Coded PHY
Make the definitions of LE Coded PHY-specific macros and inline functions conditional, i.e. only if we actually build the controller with support for LE Coded PHY. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
dc3e9b1755
commit
f754ee4aa8
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ static inline void hal_radio_sw_switch_disable(void)
|
|||
BIT(HAL_SW_SWITCH_GROUP_TASK_ENABLE_PPI));
|
||||
}
|
||||
|
||||
#if defined(CONFIG_SOC_NRF52840)
|
||||
#if defined(CONFIG_BT_CTLR_PHY_CODED) && defined(CONFIG_SOC_NRF52840)
|
||||
/* The 2 adjacent TIMER EVENTS_COMPARE event offsets used for implementing
|
||||
* SW_SWITCH_TIMER-based auto-switch for TIFS, when receiving in LE Coded PHY.
|
||||
* 'index' must be 0 or 1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue