fix(phy): add fe dependency when enable rf with regdma

This commit is contained in:
cjin
2026-09-15 11:36:18 +08:00
parent e90bd169d4
commit 74b9e617d5
4 changed files with 67 additions and 19 deletions
+3 -3
View File
@@ -281,19 +281,19 @@ void phy_wait_freq_hw_hop_done(void);
*/
void phy_track_temp_debug(uint8_t debug_flag, uint8_t track_temp);
#endif
#if SOC_PM_MODEM_RETENTION_BY_REGDMA && CONFIG_MAC_BB_PD
#if SOC_PM_MODEM_RETENTION_BY_REGDMA && (CONFIG_MAC_BB_PD || CONFIG_ESP_PHY_HW_SWITCH_RF)
/**
* @brief PHY module common memory (FE) initialize
*
*/
void esp_phy_fe_sleep_data_init(void);
esp_err_t esp_phy_fe_sleep_data_init(void);
/**
* @brief PHY module common memory (FE) de-initialize
*
*/
void esp_phy_fe_sleep_data_deinit(void);
#endif // SOC_PM_MODEM_RETENTION_BY_REGDMA && CONFIG_MAC_BB_PD
#endif // SOC_PM_MODEM_RETENTION_BY_REGDMA && (CONFIG_MAC_BB_PD || CONFIG_ESP_PHY_HW_SWITCH_RF)
#ifdef __cplusplus
}