From bac742df8022d18fe3834afaa0a19dd9646a4ecf Mon Sep 17 00:00:00 2001 From: Euripedes Date: Thu, 21 Sep 2023 08:42:28 +0200 Subject: [PATCH] fix(mqtt_cxx): Removes meaningless printf on subscribed handler (#358) 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 7e6145c5a..8f0ec5aae 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) {