Reduce logging messages.

This commit is contained in:
Jonathan Naylor 2018-02-27 08:02:02 +00:00
parent 253af16694
commit 63fa0a2cda

View file

@ -166,7 +166,8 @@ void CFCSNetwork::clock(unsigned int ms)
CUtils::dump(1U, "FCS Network Data Received", buffer, length);
if (length == 7) {
LogMessage("Linked to %s", m_reflector.c_str());
if (m_state == FCS_LINKING)
LogMessage("Linked to %s", m_reflector.c_str());
m_state = FCS_LINKED;
writeInfo();
}