mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-24 09:57:22 +00:00
nimble/phy: Fix nrf5x build with PA or LNA disabled on nRF53
This commit is contained in:
@@ -112,6 +112,7 @@ phy_fem_init()
|
||||
NRF_DPPIC->CHENSET = DPPI_CH_MASK_FEM;
|
||||
}
|
||||
|
||||
#if PHY_USE_FEM_PA
|
||||
void
|
||||
phy_fem_enable_pa(void)
|
||||
{
|
||||
@@ -125,7 +126,9 @@ phy_fem_enable_pa(void)
|
||||
DPPI_CH_SUB(TIMER0_EVENTS_COMPARE_2);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#if PHY_USE_FEM_LNA
|
||||
void
|
||||
phy_fem_enable_lna(void)
|
||||
{
|
||||
@@ -139,6 +142,7 @@ phy_fem_enable_lna(void)
|
||||
DPPI_CH_SUB(TIMER0_EVENTS_COMPARE_2);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
phy_fem_disable(void)
|
||||
|
||||
Reference in New Issue
Block a user