bluetooth: controller: hal: Correct the bit mask of used PPI channels
This is a follow up to commit 0eaa5e53a36af498115b4e56b1ea68cc89fc29ee. `HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI_BASE` is a base number for two PPI channels, so two bits need to be marked in the used channel bit mask. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
5506a4d228
commit
9a5cb2280e
1 changed files with 1 additions and 0 deletions
|
@ -480,6 +480,7 @@ static inline void hal_radio_rxen_on_sw_switch(u8_t 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_BASE) | \
|
||||
BIT(HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI_BASE+1) | \
|
||||
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