[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
@@ -154,7 +154,7 @@ Handler for mqtt commands sent to the module
|
||||
*/
|
||||
void MQTTtoSSD1306(char* topicOri, JsonObject& SSD1306data) { // json object decoding
|
||||
bool success = false;
|
||||
if (TheengsUtils::cmpToMainTopic(topicOri, subjectMQTTtoSSD1306set)) {
|
||||
if (cmpToMainTopic(topicOri, subjectMQTTtoSSD1306set)) {
|
||||
Log.trace(F("MQTTtoSSD1306 json set" CR));
|
||||
// properties
|
||||
if (SSD1306data.containsKey("onstate")) {
|
||||
|
||||
Reference in new issue
Block a user