Skip to content

Commit

Permalink
Merge pull request #28 from groundlight/errorfix
Browse files Browse the repository at this point in the history
fixed error. removed redundant code
  • Loading branch information
positavi authored Dec 11, 2023
2 parents 301e767 + a38a656 commit 8836fe4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/deployable_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,11 +537,6 @@ void setup() {
wifi_configured = true;
}

if wifi_configured = false {
debug_println("No wifi configuration found!. Use configuration tool or add default credentials in credentials.h! Restarting!");
ESP.restart();
}

if (preferences.isKey("ssid") && preferences.isKey("sl_uuid") && !preferences.isKey("sl_ip")) {

WiFi.disconnect();
Expand Down

0 comments on commit 8836fe4

Please sign in to comment.