Fix ghost logging

This commit is contained in:
Theo Arends 2020-03-14 17:45:36 +01:00
parent 4a8f73aea3
commit 1a825db2b9
2 changed files with 2 additions and 1 deletions

View File

@ -1669,6 +1669,8 @@ void AddLog(uint32_t loglevel)
if (!global_state.wifi_down &&
(loglevel <= syslog_level)) { Syslog(); }
prepped_loglevel = 0;
}
void AddLog_P(uint32_t loglevel, const char *formatP)

View File

@ -809,7 +809,6 @@ void Every100mSeconds(void)
if (prepped_loglevel) {
AddLog(prepped_loglevel);
prepped_loglevel = 0;
}
if (latching_relay_pulse) {