change(esp_phy): support phy sleep for esp32c61

This commit is contained in:
Li Shuai
2024-09-20 16:06:17 +08:00
parent 8f4cb98df0
commit a1fb9c7979
3 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ void phy_set_pwdet_power(bool en)
#endif
}
void phy_set_tsens_power(bool en)
void IRAM_ATTR phy_set_tsens_power(bool en)
{
#if CONFIG_SOC_TEMP_SENSOR_SUPPORTED // TODO: [ESP32C5] IDF-8727 remove me when fix IDF-8727
if (s_wifi_tsens_xpd_flag == en) {