From 7c1374ef69b37ff00e4dad48aa84e2433a43adab Mon Sep 17 00:00:00 2001 From: sun wei Date: Tue, 8 Jan 2019 19:21:14 +0800 Subject: [PATCH] fix: fix sub topic name log in mqtt example Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/446 --- examples/protocols/mqtt/main/MQTTEcho.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/protocols/mqtt/main/MQTTEcho.c b/examples/protocols/mqtt/main/MQTTEcho.c index b284e545..eab14d5f 100644 --- a/examples/protocols/mqtt/main/MQTTEcho.c +++ b/examples/protocols/mqtt/main/MQTTEcho.c @@ -184,7 +184,7 @@ static void mqtt_client_thread(void *pvParameters) continue; } - ESP_LOGI(TAG, "MQTT subscribe to topic %s OK", CONFIG_MQTT_PUB_TOPIC); + ESP_LOGI(TAG, "MQTT subscribe to topic %s OK", CONFIG_MQTT_SUB_TOPIC); for (;;) { MQTTMessage message;