Skip to content
Permalink
Browse files

Bluetooth: controller: hal: Fix PPI macro naming

Due to a protracted merge of:
5e38ed9
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>
  • Loading branch information...
carlescufi committed May 6, 2019
1 parent 5762972 commit 2a0a48f6bbd6fb3b0bc123b948599c3347c0ba3f
Showing with 2 additions and 2 deletions.
  1. +2 −2 subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_ppi.h
@@ -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

0 comments on commit 2a0a48f

Please sign in to comment.
You can’t perform that action at this time.