From 3e8a37ad9d3217a8938b31f40e9082bc67599714 Mon Sep 17 00:00:00 2001 From: Euripedes Rocha Date: Tue, 19 Sep 2023 10:09:19 +0200 Subject: [PATCH] fix(mqtt_cxx): Removes meaningless printf on subscribed handler Removes the printf since the information isn't in the event. Closes https://github.com/espressif/esp-protocols/issues/356 --- components/esp_mqtt_cxx/esp_mqtt_cxx.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/components/esp_mqtt_cxx/esp_mqtt_cxx.cpp b/components/esp_mqtt_cxx/esp_mqtt_cxx.cpp index 7e6145c5ac..8f0ec5aae9 100644 --- a/components/esp_mqtt_cxx/esp_mqtt_cxx.cpp +++ b/components/esp_mqtt_cxx/esp_mqtt_cxx.cpp @@ -215,7 +215,6 @@ void Client::on_disconnected(esp_mqtt_event_handle_t const event) } void Client::on_subscribed(esp_mqtt_event_handle_t const event) { - printf("Subscribed to %.*s\r\n", event->topic_len, event->topic); } void Client::on_unsubscribed(esp_mqtt_event_handle_t const event) {