From 63f9604a824f79477e78df7e7e9d565b43eca501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 18 Aug 2018 01:50:18 +0200 Subject: [PATCH] Allow all generic settings --- code/espurna/settings.ino | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/espurna/settings.ino b/code/espurna/settings.ino index c8c37c2f..2878f952 100644 --- a/code/espurna/settings.ino +++ b/code/espurna/settings.ino @@ -114,11 +114,13 @@ std::vector _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; }