move initialization code to constructors as a simplfication

This commit is contained in:
Rick Watson
2019-09-28 21:29:46 +01:00
parent 29906a1d97
commit f77428e4dc
30 changed files with 76 additions and 151 deletions

View File

@ -29,9 +29,8 @@ class ESP8266React {
public:
ESP8266React(FS* fs);
void init(AsyncWebServer* server);
ESP8266React(AsyncWebServer* server, FS* fs);
void loop();
SecurityManager* getSecurityManager(){
@ -40,8 +39,6 @@ class ESP8266React {
private:
FS* _fs;
SecuritySettingsService _securitySettingsService;
WiFiSettingsService _wifiSettingsService;