Skip to content

Commit 58eb711

Browse files
committed
Spelling fixes
1 parent 5e92486 commit 58eb711

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

WiFiManager.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ class WiFiManager
7979
void resetSettings();
8080

8181
//sets timeout before webserver loop ends and exits even if there has been no setup.
82-
//usefully for devices that failed to connect at some point and got stuck in a webserver loop
82+
//useful for devices that failed to connect at some point and got stuck in a webserver loop
8383
//in seconds setConfigPortalTimeout is a new name for setTimeout
8484
void setConfigPortalTimeout(unsigned long seconds);
8585
void setTimeout(unsigned long seconds);
8686

87-
//sets timeout for which to attempt connecting, usefull if you get a lot of failed connects
87+
//sets timeout for which to attempt connecting, useful if you get a lot of failed connects
8888
void setConnectTimeout(unsigned long seconds);
8989

9090

@@ -101,7 +101,7 @@ class WiFiManager
101101
void setSaveConfigCallback( void (*func)(void) );
102102
//adds a custom parameter
103103
void addParameter(WiFiManagerParameter *p);
104-
//if this is set, it will exit after config, even if connection is unsucessful.
104+
//if this is set, it will exit after config, even if connection is unsuccessful.
105105
void setBreakAfterConfig(boolean shouldBreak);
106106
//if this is set, try WPS setup when starting (this will delay config portal for up to 2 mins)
107107
//TODO

examples/OnDemandConfigPortal/OnDemandConfigPortal.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <DNSServer.h>
66
#include <WiFiManager.h> //https://github.com/tzapu/WiFiManager
77

8-
// select wich pin will trigger the configuraton portal when set to LOW
8+
// select which pin will trigger the configuration portal when set to LOW
99
// ESP-01 users please note: the only pins available (0 and 2), are shared
1010
// with the bootloader, so always set them HIGH at power-up
1111
#define TRIGGER_PIN 0

0 commit comments

Comments
 (0)