watchdog
This commit is contained in:
parent
878da97ace
commit
313efe9770
@ -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, 60);
|
||||
schAdd(watchdogHandler, NULL, 0, 60000);
|
||||
coloredMsg(LOG_YELLOW, "mqch, watchdogHandler scheduled");
|
||||
state = 4;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user