mirror of https://github.com/arendst/Tasmota.git
Update xdrv_10_scripter.ino
This commit is contained in:
parent
f6d22a6e4d
commit
f981c13ae6
|
@ -3408,8 +3408,6 @@ bool ScriptMqttData(void)
|
||||||
}
|
}
|
||||||
value.trim();
|
value.trim();
|
||||||
|
|
||||||
//Create an new event. Cannot directly call RulesProcessEvent().
|
|
||||||
//snprintf_P(event_data, sizeof(event_data), PSTR("%s=%s"), event_item.Event.c_str(), value.c_str());
|
|
||||||
char sbuffer[128];
|
char sbuffer[128];
|
||||||
snprintf_P(sbuffer, sizeof(sbuffer), PSTR(">%s=\"%s\"\n"), event_item.Event.c_str(), value.c_str());
|
snprintf_P(sbuffer, sizeof(sbuffer), PSTR(">%s=\"%s\"\n"), event_item.Event.c_str(), value.c_str());
|
||||||
//toLog(sbuffer);
|
//toLog(sbuffer);
|
||||||
|
|
Loading…
Reference in New Issue