Browse Source

Small changes

fastled
Xose Pérez 7 years ago
parent
commit
be7a1b8c31
1 changed files with 9 additions and 7 deletions
  1. +9
    -7
      code/espurna/settings.ino

+ 9
- 7
code/espurna/settings.ino View File

@ -319,6 +319,15 @@ void settingsLoop() {
#endif
}
void saveSettings() {
#if not SETTINGS_AUTOSAVE
_settings_save = true;
#endif
//settingsDump();
}
// -----------------------------------------------------------------------------
void moveSetting(const char * from, const char * to) {
String value = getSetting(from);
if (value.length() > 0) setSetting(to, value);
@ -362,10 +371,3 @@ bool hasSetting(const String& key) {
bool hasSetting(const String& key, unsigned int index) {
return getSetting(key, index, "").length() != 0;
}
void saveSettings() {
#if not SETTINGS_AUTOSAVE
_settings_save = true;
#endif
//settingsDump();
}

Loading…
Cancel
Save