We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 883c586 + fb5e437 commit e698283Copy full SHA for e698283
src/chargepoint/status/StatusManager.cpp
@@ -113,7 +113,7 @@ void StatusManager::updateConnectionStatus(bool is_connected)
113
}
114
115
// Restart heartbeat process
116
- m_heartbeat_timer.start(m_heartbeat_timer.getInterval());
+ m_heartbeat_timer.start(m_ocpp_config.heartbeatInterval());
117
118
119
else
@@ -197,7 +197,7 @@ void StatusManager::resetHeartBeatTimer()
197
{
198
if (m_heartbeat_timer.isStarted())
199
200
- m_heartbeat_timer.restart(m_heartbeat_timer.getInterval());
+ m_heartbeat_timer.restart(m_ocpp_config.heartbeatInterval());
201
202
203
0 commit comments