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:
Carles Cufi 2019-05-06 17:08:35 +02:00 committed by Carles Cufí
commit 2a0a48f6bb

View file

@ -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