fixed aliot connection check interval issue

This commit is contained in:
strawmanbobi
2024-10-28 16:37:07 +08:00
parent fc29ac1494
commit 0b7fc586ef
3 changed files with 5 additions and 3 deletions

View File

@@ -142,6 +142,7 @@ void keepAliveIot() {
g_mqtt_client.unsubscribe(g_downstream_topic.c_str());
g_subscribed = false;
connectIot();
last_check_time = current_time;
}
}
}