Skip to content

Commit

Permalink
Merge pull request #71 from nagyrobi/patch-1
Browse files Browse the repository at this point in the history
Allow long wifi passwords
  • Loading branch information
fvanroie authored Mar 4, 2021
2 parents 9a2d4d4 + 4ca5077 commit 41527a6
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 41527a6

Please sign in to comment.