1
0
Fork 0

Small change to the inactivity timer resetting.

ycs232-kbc
Jonathan Naylor 8 years ago
parent 85a9571eb6
commit 4e8e40d582

@ -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) {

Loading…
Cancel
Save