From 46781357dfd400d2853c25f18254607f05dc64d1 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sat, 12 Dec 2020 21:43:01 -0800 Subject: [PATCH] remove hard coded network --- src/meshwifi/meshwifi.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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;