mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Update hasp_wifi.cpp
Allow the WiFi key to be the maximum 64 characters supported by the standard.
This commit is contained in:
parent
deac936e82
commit
4ca50771e7
@ -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
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user