[SYS] Externalize utils function keep cmpToMainTopic (#2048)
And fill generateHash Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
1 parent
5e65e807b7
commit
2b958ae363
23 files changed
+163
-42
No files matched your search
+1
-1
@@ -1686,7 +1686,7 @@ void WebUILoop() {
|
||||
|
||||
void MQTTtoWebUI(char* topicOri, JsonObject& WebUIdata) { // json object decoding
|
||||
bool success = false;
|
||||
if (TheengsUtils::cmpToMainTopic(topicOri, subjectMQTTtoWebUIset)) {
|
||||
if (cmpToMainTopic(topicOri, subjectMQTTtoWebUIset)) {
|
||||
WEBUI_TRACE_LOG(F("MQTTtoWebUI json set" CR));
|
||||
// properties
|
||||
if (WebUIdata.containsKey("displayMetric")) {
|
||||
|
||||
Reference in new issue
Block a user