remove init in wifi net, load config in connect method

This commit is contained in:
2018-11-08 17:37:20 +01:00
parent 0a2f442650
commit 34ba143d5b
2 changed files with 1 additions and 5 deletions

View File

@@ -61,7 +61,6 @@ class WiFiNet : public Network {
public:
WiFiConfig config;
WiFiNet(int stationMode, const char* stationSSID, const char* stationPassword, const char* apSSID, const char* apPassword, const char* hostname, int connectTimeout);
Network* init();
int connect();
int connectStation();
int createAccessPoint();