We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9203e commit 51b52f0Copy full SHA for 51b52f0
libraries/WiFi/examples/WPS/WPS.ino
@@ -26,6 +26,7 @@ WPS (pin is 00000000)
26
27
void wpsStart() {
28
esp_wps_config_t config;
29
+ memset(&config, 0, sizeof(esp_wps_config_t));
30
//Same as config = WPS_CONFIG_INIT_DEFAULT(ESP_WPS_MODE);
31
config.wps_type = ESP_WPS_MODE;
32
strcpy(config.factory_info.manufacturer, "ESPRESSIF");
0 commit comments