Skip to content

Commit

Permalink
Update hasp_wifi.cpp
Browse files Browse the repository at this point in the history
Allow the WiFi key to be the maximum 64 characters supported by the standard.
  • Loading branch information
nagyrobi authored Mar 4, 2021
1 parent deac936 commit 4ca5077
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/net/hasp_wifi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -554,4 +554,4 @@ bool wifiSetConfig(const JsonObject & settings)
}
#endif // HASP_USE_CONFIG

#endif
#endif

0 comments on commit 4ca5077

Please sign in to comment.