Skip to content

Commit e51295a

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: controller: Fix missing GPIOTE channel disable
Fix the missing GPIOTE channel disable when GPIOTE channel is alternately used between PA and LNA use. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1 parent f265b17 commit e51295a

File tree

1 file changed

+1
-0
lines changed
  • subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio

1 file changed

+1
-0
lines changed

subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ void radio_gpio_pa_lna_disable(void)
10341034
{
10351035
hal_radio_nrf_ppi_channels_disable(BIT(HAL_ENABLE_PALNA_PPI) |
10361036
BIT(HAL_DISABLE_PALNA_PPI));
1037+
NRF_GPIOTE->CONFIG[CONFIG_BT_CTLR_PA_LNA_GPIOTE_CHAN] = 0;
10371038
}
10381039
#endif /* CONFIG_BT_CTLR_GPIO_PA_PIN || CONFIG_BT_CTLR_GPIO_LNA_PIN */
10391040

0 commit comments

Comments
 (0)