mirror of https://github.com/arendst/Tasmota.git
Fix incomplete syslog
Fix incomplete syslog when MQTT is disabled (#5512)
This commit is contained in:
parent
878205335f
commit
76b7d778ec
|
@ -1221,6 +1221,7 @@ void Syslog(void)
|
||||||
memcpy(log_data, syslog_preamble, strlen(syslog_preamble));
|
memcpy(log_data, syslog_preamble, strlen(syslog_preamble));
|
||||||
PortUdp.write(log_data);
|
PortUdp.write(log_data);
|
||||||
PortUdp.endPacket();
|
PortUdp.endPacket();
|
||||||
|
delay(1); // Add time for UDP handling (#5512)
|
||||||
} else {
|
} else {
|
||||||
syslog_level = 0;
|
syslog_level = 0;
|
||||||
syslog_timer = SYSLOG_TIMER;
|
syslog_timer = SYSLOG_TIMER;
|
||||||
|
|
Loading…
Reference in New Issue