From cc18f5121ecf63d4372ee7412182caf520d3c2fe Mon Sep 17 00:00:00 2001 From: RaffaelW Date: Sun, 15 Dec 2024 21:33:55 +0100 Subject: [PATCH] cache available networks in setup --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index d4bac96..fd7bcf5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -318,6 +318,9 @@ void setup() server.begin(); Serial.println("Server started!"); + // scan networks and cache them + WiFi.scanNetworks(true); + ledBlink(1); }