ESPEASY_Plugin_ITHO icon indicating copy to clipboard operation
ESPEASY_Plugin_ITHO copied to clipboard

'WebServer' was not declared in this scope

Open RPJacobs opened this issue 5 years ago • 0 comments

ESPEasy/src/_P145_Itho.ino:326:42: error: 'WebServer' was not declared in this scope strcpy(PLUGIN_145_ExtraSettings.ID1, WebServer.arg(F("PLUGIN_145_ID1")).c_str());

change WebServer into web_server

strcpy(PLUGIN_145_ExtraSettings.ID1, WebServer.arg(F("PLUGIN_145_ID1")).c_str()); strcpy(PLUGIN_145_ExtraSettings.ID2, WebServer.arg(F("PLUGIN_145_ID2")).c_str()); strcpy(PLUGIN_145_ExtraSettings.ID3, WebServer.arg(F("PLUGIN_145_ID3")).c_str());

strcpy(PLUGIN_145_ExtraSettings.ID1, web_server.arg(F("PLUGIN_145_ID1")).c_str()); strcpy(PLUGIN_145_ExtraSettings.ID2, web_server.arg(F("PLUGIN_145_ID2")).c_str()); strcpy(PLUGIN_145_ExtraSettings.ID3, web_server.arg(F("PLUGIN_145_ID3")).c_str());

RPJacobs avatar May 26 '20 18:05 RPJacobs