Skip to content

Commit 384e8b4

Browse files
committed
increase time to connect to wifi, increase time to begin the server
1 parent 62e37c5 commit 384e8b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Services/WifiService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class WifiService {
4040
WifiService();
4141

4242
// Connection
43-
bool connect(const std::string& ssid, const std::string& password, unsigned long timeoutMs = 14000);
43+
bool connect(const std::string& ssid, const std::string& password, unsigned long timeoutMs = 15000);
4444
void disconnect();
4545
bool isConnected() const;
4646

src/Vendors/S3WifiSetup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ bool setupS3Wifi() {
4343

4444
WiFi.begin(ssid.c_str(), password.c_str());
4545

46-
for (int i = 0; i < 10; ++i) {
46+
for (int i = 0; i < 15; ++i) {
4747
if (WiFi.status() == WL_CONNECTED) {
4848
leds[0] = CRGB::Green;
4949
FastLED.show();

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void setup() {
114114
WebTerminalView webView(wsServer);
115115
WebTerminalInput webInput(wsServer);
116116
deviceView.loading();
117-
delay(5000); // let the server begin
117+
delay(6000); // let the server begin
118118

119119
// Setup routes for index and ws
120120
httpServer.setupRoutes();

0 commit comments

Comments
 (0)