This commit is contained in:
cpq
2026-10-05 14:00:38 +01:00
parent 4aa0a243f9
commit c2d95cc19b
+1 -1
View File
@@ -124,7 +124,7 @@ void mg_mqtt_poll(struct mg_mgr *mgr) {
if (s_mqtt_conn == NULL) {
struct mg_mqtt_opts opts = {
.clean = true,
// .client_id = mg_str(MQTT_CLIENT_ID),
.client_id = mg_str(MQTT_CLIENT_ID),
.user = mg_str(MQTT_USER),
.pass = mg_str(MQTT_PASS),
.qos = MQTT_QOS,