Update xml.cpp
This commit is contained in:
@@ -792,6 +792,7 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
|
||||
if (subPage == 8) //usermods
|
||||
{
|
||||
appendGPIOinfo();
|
||||
oappendUseDeflate(true); // allow replacing long functions with shorter equivalents - only works for usermods
|
||||
if (!request->hasParam("um") ) {
|
||||
// oappend(SET_F("numM="));
|
||||
// oappendi(usermods.getModCount());
|
||||
@@ -834,6 +835,7 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
|
||||
Usermod *usermod = usermods.lookupName(request->getParam("um")->value().c_str());
|
||||
if (usermod) usermod->appendConfigData();
|
||||
}
|
||||
oappendUseDeflate(false);
|
||||
|
||||
// oappend(SET_F("console.log('getSettingsJS fix ro pins', d.max_gpio, d.ro_gpio);"));
|
||||
oappend(SET_F("pinPost();"));
|
||||
|
||||
Reference in New Issue
Block a user