diff --git a/src/mqtt_client_wrapper.cpp b/src/mqtt_client_wrapper.cpp index dbf5bef..6728dd1 100644 --- a/src/mqtt_client_wrapper.cpp +++ b/src/mqtt_client_wrapper.cpp @@ -21,6 +21,7 @@ std::mutex g_dispatch_id_mutex; static std::atomic g_mqtt_activated{false}; static std::string g_last_vid; +static VehicleMQTTTopics g_prev_topics; static bool try_activate_mqtt() {