Skip to content

Commit

Permalink
fix(mqtt_cxx): Removes unused type for configuration
Browse files Browse the repository at this point in the history
Event type was introduced in the original version and wasn't used in the
code. In 5.1 the leftover type was removed from esp_mqtt breaking this
wrapper.
  • Loading branch information
euripedesrocha committed Sep 19, 2023
1 parent 13b29c2 commit 839c79d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/esp_mqtt_cxx/include/esp_mqtt_client_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ struct ClientCredentials {
std::optional<std::string > client_id = std::nullopt;
};

struct Event {
mqtt_event_callback_t event_handle; /*!< handle for MQTT events as a callback in legacy mode */
esp_event_loop_handle_t event_loop_handle; /*!< handle for MQTT event loop library */
};

struct LastWill {
const char *lwt_topic; /*!< LWT (Last Will and Testament) message topic (NULL by default) */
const char *lwt_msg; /*!< LWT message (NULL by default) */
Expand Down Expand Up @@ -201,7 +196,6 @@ struct Connection {
};

struct Configuration {
Event event;
Task task;
Session session;
Connection connection;
Expand Down

0 comments on commit 839c79d

Please sign in to comment.