This commit is contained in:
Wolfgang Hottgenroth 2020-11-16 17:35:44 +01:00
parent 313efe9770
commit e239655e7f
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

@ -101,7 +101,7 @@ void mqttCommHandler(void *handle) {
coloredMsg(LOG_YELLOW, "mqch, subscribe watchdog");
res = subscribe(&mqttClient, WatchdogTopic, MQTTQOS0);
coloredMsg(LOG_YELLOW, "mqch, subscribe returned %d", res);
schAdd(watchdogHandler, NULL, 0, 60000);
schAdd(watchdogHandler, NULL, 60000, 60000);
coloredMsg(LOG_YELLOW, "mqch, watchdogHandler scheduled");
state = 4;
break;