first commit

This commit is contained in:
cxh 2025-09-08 15:13:30 +08:00
parent 204e773f4b
commit 9ee62f3964

View File

@ -39,7 +39,7 @@ void mqtt_client_thread_func()
{
while (true)
{
const auto &cfg = g_app_config;
const auto &cfg = g_app_config.mqtt;
mqtt_client = std::make_unique<MQTTClient>(cfg);
mqtt_client->setConnectCallback(on_mqtt_connected);