Skip to content

Commit

Permalink
cache available networks in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
RaffaelW committed Dec 15, 2024
1 parent f92e513 commit cc18f51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ void setup()
server.begin();
Serial.println("Server started!");

// scan networks and cache them
WiFi.scanNetworks(true);

ledBlink(1);
}

Expand Down

0 comments on commit cc18f51

Please sign in to comment.