Usermod config level up, step1

This commit is contained in:
Ewowi
2022-08-31 22:17:59 +02:00
parent da0da4c75e
commit b13d4594ac
11 changed files with 4241 additions and 3815 deletions

View File

@@ -1418,6 +1418,10 @@ class AudioReactive : public Usermod {
sync[F("mode")] = audioSyncEnabled;
}
void addToConfigMenu(JsonObject& root) {
JsonObject top = root.createNestedObject(FPSTR(_name));
}
/*
* readFromConfig() can be used to read back the custom settings you added with addToConfig().