From 7b0f0ac639032425104e14c506db5c1b97f2f388 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 bfa39fb..366aae9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -322,6 +322,9 @@ void setup() server.begin(); Serial.println("Server started!"); + // scan networks and cache them + WiFi.scanNetworks(true); + ledBlink(1); }