From 1d45a2fe77acd35c1ad6d578294524f3bd927597 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Fri, 16 Aug 2019 09:18:23 +0200 Subject: [PATCH] bluetooth: controller: minor fixes in inline comments Several minor fixes to inline comments of #ifdef .. #endif blocks. Signed-off-by: Ioannis Glaropoulos --- .../bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c | 4 ++-- .../controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_ppi.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c b/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c index a9b5236273d..265b7248d44 100644 --- a/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c +++ b/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c @@ -220,7 +220,7 @@ void radio_pkt_configure(u8_t bits_len, u8_t max_len, u8_t flags) extra |= (RADIO_PCNF0_S1INCL_Include << RADIO_PCNF0_S1INCL_Pos) & RADIO_PCNF0_S1INCL_Msk; } -#endif /* CONFIG_SOC_SERIES_NRF52X */ +#endif /* CONFIG_SOC_COMPATIBLE_NRF52X */ NRF_RADIO->PCNF0 = (((1UL) << RADIO_PCNF0_S0LEN_Pos) & RADIO_PCNF0_S0LEN_Msk) | @@ -1072,7 +1072,7 @@ void *radio_ccm_rx_pkt_set(struct ccm *ccm, u8_t phy, void *pkt) #endif /* CONFIG_SOC_NRF52840 */ #endif /* CONFIG_BT_CTLR_PHY_CODED */ } -#endif /* CONFIG_SOC_SERIES_NRF52X */ +#endif /* CONFIG_SOC_COMPATIBLE_NRF52X */ NRF_CCM->MODE = mode; NRF_CCM->CNFPTR = (u32_t)ccm; diff --git a/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_ppi.h b/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_ppi.h index ea5c0a2c9fd..6086200e946 100644 --- a/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_ppi.h +++ b/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_ppi.h @@ -505,4 +505,4 @@ BUILD_ASSERT_MSG( #define HAL_USED_PPI_GROUPS 0 #endif -#endif /* CONFIG_SOC_SERIES_NRF51X || CONFIG_SOC_SERIES_NRF52X */ +#endif /* CONFIG_SOC_SERIES_NRF51X || CONFIG_SOC_COMPATIBLE_NRF52X */