From aba937f42f0a809559359b67396b0614732da5b5 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 30 Jan 2021 11:20:11 +0100 Subject: [PATCH] fix wrong format letter --- WifiInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WifiInterface.cpp b/WifiInterface.cpp index 45531fb..67b210f 100644 --- a/WifiInterface.cpp +++ b/WifiInterface.cpp @@ -253,7 +253,7 @@ wifiSerialState WifiInterface::setup2(const __FlashStringHelper* SSid, const __F StringFormatter::send(wifiStream, F("AT+CWSAP=\"DCCEX_%s\",\"PASS_%s\",1,4\r\n"), macTail, macTail); } else { // password configured by user - StringFormatter::send(wifiStream, F("AT+CWSAP=\"DCCEX_%s\",\"%s\",1,4\r\n"), macTail, password); + StringFormatter::send(wifiStream, F("AT+CWSAP=\"DCCEX_%s\",\"%S\",1,4\r\n"), macTail, password); } } while (i++<2 && !checkForOK(WIFI_CONNECT_TIMEOUT, OK_SEARCH, true)); // do twice if necessary but ignore failure as AP mode may still be ok } else {