Skip to content

Commit

Permalink
fix wifi connected typo
Browse files Browse the repository at this point in the history
Really should have caught this before pushing, ugh.
  • Loading branch information
tcsullivan committed Apr 1, 2024
1 parent 89d7518 commit ab4bc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noisemeter-device/noisemeter-device.ino
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ int tryWifiConnection()
bool connected;

do {
connected = WiFi.status() != WL_CONNECTED;
connected = WiFi.status() == WL_CONNECTED;
SERIAL.print(".");
delay(500);
} while (!connected && millis() - start < WIFI_CONNECT_TIMEOUT_MS);
Expand Down

0 comments on commit ab4bc05

Please sign in to comment.