From 4ca50771e786ea26050acebb35251b7b74f9df3d Mon Sep 17 00:00:00 2001 From: nagyrobi Date: Thu, 4 Mar 2021 16:07:21 +0100 Subject: [PATCH] Update hasp_wifi.cpp Allow the WiFi key to be the maximum 64 characters supported by the standard. --- src/net/hasp_wifi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/net/hasp_wifi.cpp b/src/net/hasp_wifi.cpp index beb9d191..4d92c17d 100644 --- a/src/net/hasp_wifi.cpp +++ b/src/net/hasp_wifi.cpp @@ -44,9 +44,9 @@ char wifiSsid[32] = WIFI_SSID; char wifiSsid[32] = ""; #endif #ifdef WIFI_PASSW -char wifiPassword[32] = WIFI_PASSW; +char wifiPassword[64] = WIFI_PASSW; #else -char wifiPassword[32] = ""; +char wifiPassword[64] = ""; #endif uint8_t wifiReconnectCounter = 0; @@ -554,4 +554,4 @@ bool wifiSetConfig(const JsonObject & settings) } #endif // HASP_USE_CONFIG -#endif \ No newline at end of file +#endif