changed to overload
This commit is contained in:
@@ -117,7 +117,7 @@ bool WiFi::attemptConnect(char *SSID, char *PW, wifi_auth_mode_t authMode) {
|
||||
return awaitConnected();
|
||||
}
|
||||
|
||||
bool WiFi::attemptConnectEnterprise(char *SSID, char *username, char *PW, wifi_auth_mode_t authMode) {
|
||||
bool WiFi::attemptConnect(char *SSID, char *username, char *PW, wifi_auth_mode_t authMode) {
|
||||
std::string ssid = SSID;
|
||||
std::string uname = username;
|
||||
std::string password = PW;
|
||||
|
||||
@@ -8,8 +8,8 @@ class WiFi {
|
||||
public:
|
||||
static void init();
|
||||
static bool attemptConnect(char *SSID, char *PW, wifi_auth_mode_t authMode);
|
||||
static bool attemptConnectEnterprise(char *SSID, char *username,
|
||||
char *PW, wifi_auth_mode_t authMode);
|
||||
static bool attemptConnect(char *SSID, char *username, char *PW,
|
||||
wifi_auth_mode_t authMode);
|
||||
private:
|
||||
static bool authFailed;
|
||||
static bool awaitConnected();
|
||||
|
||||
Reference in New Issue
Block a user