From 08bd6e448da063af379475f4556a3ff6a2d0abc4 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Mon, 24 Feb 2020 23:12:02 +0100 Subject: [PATCH] Fix WifiAP bug --- src/hasp_wifi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hasp_wifi.cpp b/src/hasp_wifi.cpp index 4bc6d869..ef1429f3 100644 --- a/src/hasp_wifi.cpp +++ b/src/hasp_wifi.cpp @@ -132,7 +132,7 @@ void wifiSetup(JsonObject settings) wifiSetConfig(settings); - if(wifiSsid == "") { + if(strlen(wifiSsid) == 0) { String apSsdid = F("HASP-"); apSsdid += wifiGetMacAddress(3, "");