File tree 2 files changed +4
-4
lines changed
examples/OnDemandConfigPortal
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ class WiFiManager
79
79
void resetSettings ();
80
80
81
81
// 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
83
83
// in seconds setConfigPortalTimeout is a new name for setTimeout
84
84
void setConfigPortalTimeout (unsigned long seconds);
85
85
void setTimeout (unsigned long seconds);
86
86
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
88
88
void setConnectTimeout (unsigned long seconds);
89
89
90
90
@@ -101,7 +101,7 @@ class WiFiManager
101
101
void setSaveConfigCallback ( void (*func)(void ) );
102
102
// adds a custom parameter
103
103
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 .
105
105
void setBreakAfterConfig (boolean shouldBreak);
106
106
// if this is set, try WPS setup when starting (this will delay config portal for up to 2 mins)
107
107
// TODO
Original file line number Diff line number Diff line change 5
5
#include < DNSServer.h>
6
6
#include < WiFiManager.h> // https://github.com/tzapu/WiFiManager
7
7
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
9
9
// ESP-01 users please note: the only pins available (0 and 2), are shared
10
10
// with the bootloader, so always set them HIGH at power-up
11
11
#define TRIGGER_PIN 0
You can’t perform that action at this time.
0 commit comments