diff --git a/tools/cdata.js b/tools/cdata.js index d01c3e35..d42a392c 100644 --- a/tools/cdata.js +++ b/tools/cdata.js @@ -318,6 +318,12 @@ writeChunks( method: "gzip", filter: "html-minify", }, + { + file: "settings_um2.htm", + name: "PAGE_settings_um2", + method: "gzip", + filter: "html-minify", + }, { file: "settings_pin.htm", name: "PAGE_settings_pin", diff --git a/usermods/audioreactive/audio_reactive.h b/usermods/audioreactive/audio_reactive.h index 40c17616..3f17e341 100644 --- a/usermods/audioreactive/audio_reactive.h +++ b/usermods/audioreactive/audio_reactive.h @@ -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(). diff --git a/wled00/data/settings.htm b/wled00/data/settings.htm index 3032959d..94dadf01 100644 --- a/wled00/data/settings.htm +++ b/wled00/data/settings.htm @@ -37,6 +37,8 @@ } var url = (loc?`http://${locip}`:'') + '/settings/s.js?p=0'; loadJS(url, false); // If we set async false, file is loaded and executed, then next statement is processed + gId("configMenu").innerHTML = '\ + '; } + + +
+ + + +