wifi: remove esp_phy_enable/disable IRAM_attr

esp_phy_enable and esp_phy_disable were declared both with IRAM attr
and with (noflash) in the linker fragment file, causing ldgen to emit
warnings.

Remove IRAM_attr and let the linker fragment decide placement
pull/6491/head
Marius Vikhammer 2021-01-21 18:56:09 +08:00
rodzic 61c5604d83
commit ec5fb44778
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -195,7 +195,7 @@ IRAM_ATTR void esp_phy_common_clock_disable(void)
wifi_bt_common_module_disable();
}
IRAM_ATTR void esp_phy_enable(void)
void esp_phy_enable(void)
{
_lock_acquire(&s_phy_access_lock);
@ -231,7 +231,7 @@ IRAM_ATTR void esp_phy_enable(void)
_lock_release(&s_phy_access_lock);
}
IRAM_ATTR void esp_phy_disable(void)
void esp_phy_disable(void)
{
_lock_acquire(&s_phy_access_lock);