Small change to the inactivity timer resetting.

This commit is contained in:
Jonathan Naylor 2017-03-19 08:41:48 +00:00
parent 85a9571eb6
commit 4e8e40d582

View file

@ -307,7 +307,8 @@ int CYSFGateway::run()
if (networkEnabled && m_linked && !m_exclude) {
m_netNetwork->write(buffer);
inactivityTimer.start();
if (::memcmp(buffer + 0U, "YSFD", 4U) == 0)
inactivityTimer.start();
}
if ((buffer[34U] & 0x01U) == 0x01U) {