Location Speichern geht? abrufen der gespeicherten location aus properties muss noch gemacht werden
This commit is contained in:
@@ -23,7 +23,7 @@ void setupWifi() {
|
||||
Serial.println("Access Point SSID: " + String(ssidSTA));
|
||||
Serial.println("Access Point PW: " + String(passwordSTA));
|
||||
|
||||
if ((ssidSTA == nullptr) || (passwordSTA == nullptr)) {
|
||||
if (ssidSTA == nullptr || passwordSTA == nullptr || String(ssidSTA).isEmpty() || String(passwordSTA).isEmpty() ) {
|
||||
Serial.println("Fehler: ssidSTA oder passwordSTA ist null!");
|
||||
WiFi.mode(WIFI_MODE_AP);
|
||||
WiFi.softAP(ssidAP, passwordAP);
|
||||
|
||||
Reference in New Issue
Block a user