Bluetooth: controller: PA/LNA use NRF_P0/P1 define
For PA/LNA implementation use NRF_P0/P1 defines instead of the deprecated NRF_GPIO to reference GPIO Port 0 registers. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
e51295a309
commit
5470444e6a
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
|||
#define NRF_GPIO_PA NRF_P1
|
||||
#define NRF_GPIO_PA_PIN ((CONFIG_BT_CTLR_GPIO_PA_PIN) - 32)
|
||||
#else
|
||||
#define NRF_GPIO_PA NRF_GPIO
|
||||
#define NRF_GPIO_PA NRF_P0
|
||||
#define NRF_GPIO_PA_PIN CONFIG_BT_CTLR_GPIO_PA_PIN
|
||||
#endif
|
||||
#endif /* CONFIG_BT_CTLR_GPIO_PA_PIN */
|
||||
|
@ -36,7 +36,7 @@
|
|||
#define NRF_GPIO_LNA NRF_P1
|
||||
#define NRF_GPIO_LNA_PIN ((CONFIG_BT_CTLR_GPIO_LNA_PIN) - 32)
|
||||
#else
|
||||
#define NRF_GPIO_LNA NRF_GPIO
|
||||
#define NRF_GPIO_LNA NRF_P0
|
||||
#define NRF_GPIO_LNA_PIN CONFIG_BT_CTLR_GPIO_LNA_PIN
|
||||
#endif
|
||||
#endif /* CONFIG_BT_CTLR_GPIO_LNA_PIN */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue