Skip to content

Commit 7c1374e

Browse files
sun weiwujiangang
sun wei
authored andcommitted
fix: fix sub topic name log in mqtt example
Closes #446
1 parent 5df0b1d commit 7c1374e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/protocols/mqtt/main/MQTTEcho.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ static void mqtt_client_thread(void *pvParameters)
184184
continue;
185185
}
186186

187-
ESP_LOGI(TAG, "MQTT subscribe to topic %s OK", CONFIG_MQTT_PUB_TOPIC);
187+
ESP_LOGI(TAG, "MQTT subscribe to topic %s OK", CONFIG_MQTT_SUB_TOPIC);
188188

189189
for (;;) {
190190
MQTTMessage message;

0 commit comments

Comments
 (0)