Skip to content

Commit

Permalink
fixed some typos (#4395)
Browse files Browse the repository at this point in the history
  • Loading branch information
programminghoch10 authored Oct 14, 2020
1 parent 18c3345 commit c3f3497
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/WiFi/examples/WPS/WPS.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ based WPS entry to get your ESP connected to your WiFi router.
Hardware Requirements
========================
ESP32 and a Router having atleast one WPS functionality
ESP32 and a Router having WPS functionality
This code is under Public Domain License.
Expand Down Expand Up @@ -63,7 +63,7 @@ void WiFiEvent(WiFiEvent_t event, system_event_info_t info){
WiFi.reconnect();
break;
case SYSTEM_EVENT_STA_WPS_ER_SUCCESS:
Serial.println("WPS Successfull, stopping WPS and connecting to: " + String(WiFi.SSID()));
Serial.println("WPS Successful, stopping WPS and connecting to: " + String(WiFi.SSID()));
esp_wifi_wps_disable();
delay(10);
WiFi.begin();
Expand All @@ -75,7 +75,7 @@ void WiFiEvent(WiFiEvent_t event, system_event_info_t info){
esp_wifi_wps_start(0);
break;
case SYSTEM_EVENT_STA_WPS_ER_TIMEOUT:
Serial.println("WPS Timedout, retrying");
Serial.println("WPS Timeout, retrying");
esp_wifi_wps_disable();
esp_wifi_wps_enable(&config);
esp_wifi_wps_start(0);
Expand Down Expand Up @@ -106,4 +106,4 @@ void setup(){

void loop(){
//nothing to do here
}
}

0 comments on commit c3f3497

Please sign in to comment.