Browse Source

Allow all generic settings

v2
Xose Pérez 6 years ago
parent
commit
63f9604a82
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      code/espurna/settings.ino

+ 4
- 2
code/espurna/settings.ino View File

@ -114,11 +114,13 @@ std::vector<String> _settingsKeys() {
bool _settingsKeyCheck(const char * key) {
if (strncmp(key, "admin", 5) == 0) return true;
if (strncmp(key, "hostname", 8) == 0) return true;
if (strncmp(key, "board", 5) == 0) return true;
if (strncmp(key, "cfg", 3) == 0) return true;
if (strncmp(key, "device", 6) == 0) return true;
if (strncmp(key, "fw", 2) == 0) return true;
if (strncmp(key, "hostname", 8) == 0) return true;
if (strncmp(key, "loopDelay", 9) == 0) return true;
if (strncmp(key, "wtfHeap", 7) == 0) return true;
if (strncmp(key, "cfg", 3) == 0) return true;
return false;
}


Loading…
Cancel
Save