We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8988ff commit 22b55d7Copy full SHA for 22b55d7
main/src/device/wifi.c
@@ -61,6 +61,7 @@ void wifi0_init(void)
61
} else {
62
ESP_LOGW(TAG, "no wifi configuration available");
63
}
64
+ esp_wifi_set_ps(WIFI_PS_MIN_MODEM);
65
uint8_t wifi0_mac[6] = {0};
66
ESP_ERROR_CHECK(esp_wifi_get_mac(ESP_IF_WIFI_STA, wifi0_mac));
67
snprintf(wifi0_mac_str, sizeof(wifi0_mac_str), MACSTR, MAC2STR(wifi0_mac));
0 commit comments