Usermod config level up, step 2: Working!

- remove settings_um2
- remove addToConfigMenu
- settings.htm: add isO and ldS (inspired by settings_um.htm): add usermod buttons to urows
settings_um.htm: check url um var and if set show only this usermod. Only show globalGPIOs if no usermod
This commit is contained in:
Ewowi
2022-09-01 22:37:52 +02:00
parent 7bb50da4b8
commit 42ec2725f8
9 changed files with 292 additions and 655 deletions

View File

@@ -27,7 +27,6 @@ void UsermodManager::addToJsonState(JsonObject& obj) { for (byte i = 0; i < n
void UsermodManager::addToJsonInfo(JsonObject& obj) { for (byte i = 0; i < numMods; i++) ums[i]->addToJsonInfo(obj); }
void UsermodManager::readFromJsonState(JsonObject& obj) { for (byte i = 0; i < numMods; i++) ums[i]->readFromJsonState(obj); }
void UsermodManager::addToConfig(JsonObject& obj) { for (byte i = 0; i < numMods; i++) ums[i]->addToConfig(obj); }
void UsermodManager::addToConfigMenu(JsonObject& obj) { for (byte i = 0; i < numMods; i++) ums[i]->addToConfigMenu(obj); }
bool UsermodManager::readFromConfig(JsonObject& obj) {
bool allComplete = true;
for (byte i = 0; i < numMods; i++) {