Small change to the inactivity timer resetting.
This commit is contained in:
parent
85a9571eb6
commit
4e8e40d582
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue