Skip to content

Commit 5b3d16f

Browse files
committed
Simplified ScanNetwork example
Fixes #3629
1 parent 0c2498a commit 5b3d16f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

libraries/WiFi/examples/ScanNetworks/ScanNetworks.ino

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,13 @@ void setup() {
3939

4040
// Print WiFi MAC address:
4141
printMacAddress();
42-
43-
// scan for existing networks:
44-
Serial.println("Scanning available networks...");
45-
listNetworks();
4642
}
4743

4844
void loop() {
49-
delay(10000);
5045
// scan for existing networks:
5146
Serial.println("Scanning available networks...");
5247
listNetworks();
48+
delay(10000);
5349
}
5450

5551
void printMacAddress() {

0 commit comments

Comments
 (0)