mirror of https://github.com/arendst/Tasmota.git
Fix ghost logging
This commit is contained in:
parent
4a8f73aea3
commit
1a825db2b9
|
@ -1669,6 +1669,8 @@ void AddLog(uint32_t loglevel)
|
||||||
|
|
||||||
if (!global_state.wifi_down &&
|
if (!global_state.wifi_down &&
|
||||||
(loglevel <= syslog_level)) { Syslog(); }
|
(loglevel <= syslog_level)) { Syslog(); }
|
||||||
|
|
||||||
|
prepped_loglevel = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AddLog_P(uint32_t loglevel, const char *formatP)
|
void AddLog_P(uint32_t loglevel, const char *formatP)
|
||||||
|
|
|
@ -809,7 +809,6 @@ void Every100mSeconds(void)
|
||||||
|
|
||||||
if (prepped_loglevel) {
|
if (prepped_loglevel) {
|
||||||
AddLog(prepped_loglevel);
|
AddLog(prepped_loglevel);
|
||||||
prepped_loglevel = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (latching_relay_pulse) {
|
if (latching_relay_pulse) {
|
||||||
|
|
Loading…
Reference in New Issue