Bluetooth: controller: hal: Fix PPI macro naming
Due to a protracted merge of:
5e38ed9320
the naming for the HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI changed
semnatics, now requiring use of
HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI_BASE.
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
57629724c2
commit
2a0a48f6bb
1 changed files with 2 additions and 2 deletions
|
@ -477,9 +477,9 @@ static inline void hal_radio_rxen_on_sw_switch(u8_t ppi)
|
|||
#define HAL_USED_PPI_CHANNELS_4 0
|
||||
#endif
|
||||
|
||||
#if defined(HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI)
|
||||
#if defined(HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI_BASE)
|
||||
#define HAL_USED_PPI_CHANNELS_5 \
|
||||
(BIT(HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI) | \
|
||||
(BIT(HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI_BASE) | \
|
||||
BIT(HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI))
|
||||
#else
|
||||
#define HAL_USED_PPI_CHANNELS_5 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue