This commit is contained in:
Wolfgang Hottgenroth 2020-11-16 17:34:05 +01:00
parent 878da97ace
commit 313efe9770
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

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