diff --git a/src/meshwifi/meshwifi.cpp b/src/meshwifi/meshwifi.cpp index 3d747b711..da3af6a54 100644 --- a/src/meshwifi/meshwifi.cpp +++ b/src/meshwifi/meshwifi.cpp @@ -23,8 +23,8 @@ char ourHost[16]; bool forcedSoftAP = 0; - -bool isSoftAPForced() { +bool isSoftAPForced() +{ return forcedSoftAP; } @@ -40,8 +40,6 @@ bool isWifiAvailable() // strcpy(radioConfig.preferences.wifi_ssid, ""); // strcpy(radioConfig.preferences.wifi_password, ""); - // strcpy(radioConfig.preferences.wifi_ssid, "meshtastic"); - // strcpy(radioConfig.preferences.wifi_password, "meshtastic!"); if (*wifiName && *wifiPsw) { return 1;