Skip to content

Commit aa5d922

Browse files
authored
Update wificonnect.ino
1 parent b803385 commit aa5d922

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/wificonnect/wificonnect.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void build(sets::Builder& b) {
2424
b.Pass(kk::wifi_pass, "Password");
2525
if (b.Button(kk::apply, "Save & Restart")) {
2626
db.update(); // сохраняем БД не дожидаясь таймаута
27-
ESP.reset();
27+
ESP.restart();
2828
}
2929
}
3030
}
@@ -74,4 +74,4 @@ void setup() {
7474

7575
void loop() {
7676
sett.tick();
77-
}
77+
}

0 commit comments

Comments
 (0)