reduce signal change logs when generating syn
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# next (tbd)
|
||||
## Buf Fixes
|
||||
* fix potentially invalid settings picked up from environment variables
|
||||
* fix potentially unnecessary arbitration start for non-enhanced proto
|
||||
* fix smaller issues in KNX integration
|
||||
## Features
|
||||
* tbd
|
||||
|
||||
|
||||
@@ -1094,9 +1094,13 @@ result_t BusHandler::setState(BusState state, result_t result, bool firstRepetit
|
||||
logDebug(lf_bus, "switching from %s to %s", getStateCode(m_state), getStateCode(state));
|
||||
}
|
||||
if (state == bs_noSignal) {
|
||||
logError(lf_bus, "signal lost");
|
||||
if (m_generateSynInterval == 0 || m_state != bs_skip) {
|
||||
logError(lf_bus, "signal lost");
|
||||
}
|
||||
} else if (m_state == bs_noSignal) {
|
||||
logNotice(lf_bus, "signal acquired");
|
||||
if (m_generateSynInterval == 0 || state != bs_skip) {
|
||||
logNotice(lf_bus, "signal acquired");
|
||||
}
|
||||
}
|
||||
m_state = state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user