Skip to content

Commit 82c7b20

Browse files
Merge pull request #6 from ayushsharma82/dev
fix: critical connection timeout bug
2 parents 02a2098 + 6b29df3 commit 82c7b20

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"platforms": ["espressif8266", "raspberrypi"]
3636
}
3737
],
38-
"version": "1.0.4",
38+
"version": "1.0.5",
3939
"frameworks": "arduino",
4040
"platforms": ["espressif32", "raspberrypi"]
4141
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=NetWizard
2-
version=1.0.4
2+
version=1.0.5
33
author=Ayush Sharma
44
category=Communication
55
maintainer=Ayush Sharma <asrocks5@gmail.com>

src/NetWizard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ void NetWizard::loop() {
337337
// _nw.portal.exit.flag = true;
338338
_nw.portal.state = NetWizardPortalState::SUCCESS;
339339
} else {
340-
if ((unsigned long)(millis() - _nw.portal.connect_millis) > NETWIZARD_EXIT_TIMEOUT) {
340+
if ((unsigned long)(millis() - _nw.portal.connect_millis) > NETWIZARD_CONNECT_TIMEOUT) {
341341
NETWIZARD_DEBUG_MSG("Error: connection to temporary credentials timeout!\n");
342342
_nw.portal.sta.ssid = "";
343343
_nw.portal.sta.password = "";

0 commit comments

Comments
 (0)