Add animated staircase to _max environments, add ? btn to Bat,temp,Asave
This commit is contained in:
@@ -378,6 +378,7 @@ class UsermodBattery : public Usermod
|
||||
|
||||
void appendConfigData()
|
||||
{
|
||||
oappend(SET_F("addInfo('Battery:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/Battery"\" type=\"button\">?</button>');"));
|
||||
oappend(SET_F("addInfo('Battery:min-voltage', 1, 'v');"));
|
||||
oappend(SET_F("addInfo('Battery:max-voltage', 1, 'v');"));
|
||||
oappend(SET_F("addInfo('Battery:capacity', 1, 'mAh');"));
|
||||
|
||||
@@ -305,6 +305,10 @@ class UsermodTemperature : public Usermod {
|
||||
// if (!initDone) return; // prevent crash on boot applyPreset()
|
||||
//}
|
||||
|
||||
void appendConfigData() {
|
||||
oappend(SET_F("addInfo('Temperature:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/Temperature"\" type=\"button\">?</button>');"));
|
||||
}
|
||||
|
||||
/**
|
||||
* addToConfig() (called from set.cpp) stores persistent properties to cfg.json
|
||||
*/
|
||||
|
||||
@@ -204,6 +204,10 @@ class AutoSaveUsermod : public Usermod {
|
||||
}
|
||||
}
|
||||
|
||||
void appendConfigData() {
|
||||
oappend(SET_F("addInfo('Autosave:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/Autosave"\" type=\"button\">?</button>');"));
|
||||
}
|
||||
|
||||
/*
|
||||
* addToConfig() can be used to add custom persistent settings to the cfg.json file in the "um" (usermod) object.
|
||||
* It will be called by WLED when settings are actually saved (for example, LED settings are saved)
|
||||
|
||||
Reference in New Issue
Block a user