Merge pull request #71 from nagyrobi/patch-1

Allow long wifi passwords
This commit is contained in:
fvanroie 2021-03-04 19:48:51 +01:00 committed by GitHub
commit 41527a6738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,9 +44,9 @@ char wifiSsid[32] = WIFI_SSID;
char wifiSsid[32] = ""; char wifiSsid[32] = "";
#endif #endif
#ifdef WIFI_PASSW #ifdef WIFI_PASSW
char wifiPassword[32] = WIFI_PASSW; char wifiPassword[64] = WIFI_PASSW;
#else #else
char wifiPassword[32] = ""; char wifiPassword[64] = "";
#endif #endif
uint8_t wifiReconnectCounter = 0; uint8_t wifiReconnectCounter = 0;
@ -554,4 +554,4 @@ bool wifiSetConfig(const JsonObject & settings)
} }
#endif // HASP_USE_CONFIG #endif // HASP_USE_CONFIG
#endif #endif