fix(vd960DBN): iot_make_topic missing 5th arg for "srv"/"ctrl" topic

This commit is contained in:
wangfq
2026-07-03 18:18:38 +08:00
parent 6f5effae8c
commit 122c36bb9d
@@ -126,7 +126,7 @@ static int iot_mqtt_send_subscribe(void) {
iot_make_topic(topic, sizeof(topic), "srv", "config", "query");
topics[count].cstring = topic; topics[count].lenstring.len = 0; count++;
iot_make_topic(topic, sizeof(topic), "srv", "ctrl");
iot_make_topic(topic, sizeof(topic), "srv", "ctrl", NULL);
topics[count].cstring = topic; topics[count].lenstring.len = 0; count++;
len = MQTTSerialize_subscribe(buf, sizeof(buf), 0,