Convert minutes to seconds in the timeout.

This commit is contained in:
Jonathan Naylor 2017-03-18 07:32:53 +00:00
parent c74106cfbb
commit 8095a22972
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ void CP25Gateway::run()
CDMRLookup* lookup = new CDMRLookup(m_conf.getLookupName(), m_conf.getLookupTime());
lookup->read();
CTimer inactivityTimer(1000U, m_conf.getNetworkInactivityTimeout());
CTimer inactivityTimer(1000U, m_conf.getNetworkInactivityTimeout() * 60U);
CTimer lostTimer(1000U, 120U);
CTimer pollTimer(1000U, 5U);