fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro

This commit is contained in:
alanmaxwell
2023-11-03 21:18:18 +08:00
parent 5bf1070143
commit 5a43831006
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ static void test_phy_rtc_init(void)
ret = nvs_flash_init();
}
TEST_ESP_OK(ret);
#if CONFIG_WIFI_ENABLED
#if CONFIG_ESP_WIFI_ENABLED
esp_phy_enable(PHY_MODEM_WIFI);
#endif
#if CONFIG_BT_ENABLED