diff --git a/cube/User/Src/mqttComm.c b/cube/User/Src/mqttComm.c index 4fe1026..c5671ca 100644 --- a/cube/User/Src/mqttComm.c +++ b/cube/User/Src/mqttComm.c @@ -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;