mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(wifi): Support ESP32 PHY enabled not enter WiFi RX state by default
This commit is contained in:
parent
3cc06e472b
commit
99ac807418
@ -550,10 +550,12 @@ static void IRAM_ATTR esp_empty_wrapper(void)
|
||||
static void esp_phy_enable_wrapper(void)
|
||||
{
|
||||
esp_phy_enable(PHY_MODEM_WIFI);
|
||||
phy_wifi_enable_set(1);
|
||||
}
|
||||
|
||||
static void esp_phy_disable_wrapper(void)
|
||||
{
|
||||
phy_wifi_enable_set(0);
|
||||
esp_phy_disable(PHY_MODEM_WIFI);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user