fix(vd960DBN): iot_make_topic missing 5th arg for "srv"/"ctrl" topic
This commit is contained in:
@@ -126,7 +126,7 @@ static int iot_mqtt_send_subscribe(void) {
|
|||||||
iot_make_topic(topic, sizeof(topic), "srv", "config", "query");
|
iot_make_topic(topic, sizeof(topic), "srv", "config", "query");
|
||||||
topics[count].cstring = topic; topics[count].lenstring.len = 0; count++;
|
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++;
|
topics[count].cstring = topic; topics[count].lenstring.len = 0; count++;
|
||||||
|
|
||||||
len = MQTTSerialize_subscribe(buf, sizeof(buf), 0,
|
len = MQTTSerialize_subscribe(buf, sizeof(buf), 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user