Skip to content

Commit

Permalink
fix(mqtt_cxx): Removes meaningless printf on subscribed handler
Browse files Browse the repository at this point in the history
Removes the printf since the information isn't in the event.

Closes espressif#356
  • Loading branch information
euripedesrocha committed Sep 19, 2023
1 parent 114059b commit 0d137ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/esp_mqtt_cxx/esp_mqtt_cxx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0d137ab

Please sign in to comment.