From b3251e89d7371c486c5d7dc1281c520e85d4dca9 Mon Sep 17 00:00:00 2001 From: Nathan Kellenicki Date: Sun, 2 Jul 2023 19:50:38 -0700 Subject: [PATCH] Fixed Arduino --- WifiInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WifiInterface.cpp b/WifiInterface.cpp index c377319..bd9cf22 100644 --- a/WifiInterface.cpp +++ b/WifiInterface.cpp @@ -297,7 +297,7 @@ wifiSerialState WifiInterface::setup2(const FSH* SSid, const FSH* password, macTail, password, channel); } } else { - StringFormatter::send(wifiStream, F("AT+CWSAP%s=\"%s\",\"%s\",%d,4\r\n"), + StringFormatter::send(wifiStream, F("AT+CWSAP%s=\"%S\",\"%S\",%d,4\r\n"), oldCmd ? "" : "_CUR", SSid, password, channel); } } while (!checkForOK(WIFI_CONNECT_TIMEOUT, true) && i++<2); // do twice if necessary but ignore failure as AP mode may still be ok