From 2edf2a42312796317511f868667cc16a05311f98 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 7 Aug 2021 21:46:38 +0200 Subject: [PATCH] disable mqtt function --- src/mqtt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mqtt.h b/src/mqtt.h index 609e6d545..ffdcc7480 100644 --- a/src/mqtt.h +++ b/src/mqtt.h @@ -151,6 +151,10 @@ class Mqtt { return mqtt_enabled_; } + static void enabled(bool mqtt_enabled) { + mqtt_enabled_ = mqtt_enabled; + } + static std::string base() { return mqtt_base_; }