From b7eabbd26763eb3aafcffaea0bf7c1f05e96f3e7 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 30 Apr 2022 15:46:56 +0200 Subject: [PATCH] avoid potentially repeated definition --- src/ebusd/mqtthandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ebusd/mqtthandler.cpp b/src/ebusd/mqtthandler.cpp index d71211e2..d88b9372 100755 --- a/src/ebusd/mqtthandler.cpp +++ b/src/ebusd/mqtthandler.cpp @@ -1144,7 +1144,7 @@ void MqttHandler::run() { } } } - time(&m_definitionsSince); + m_definitionsSince = now+1; // +1 to not do the same ones again needsWait = true; } time(&lastTaskRun);