From 3c09a5520361907043c23735268c9544f8a39ff3 Mon Sep 17 00:00:00 2001 From: brentru Date: Wed, 22 Sep 2021 15:32:57 -0400 Subject: [PATCH] remove qos 0 --- src/Wippersnapper.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Wippersnapper.cpp b/src/Wippersnapper.cpp index 2eccb4173..18215bc29 100644 --- a/src/Wippersnapper.cpp +++ b/src/Wippersnapper.cpp @@ -847,15 +847,13 @@ bool Wippersnapper::buildWSTopics() { void Wippersnapper::subscribeWSTopics() { // Subscribe to signal topic _topic_signal_brkr_sub = - new Adafruit_MQTT_Subscribe(WS._mqtt, WS._topic_signal_brkr, 0); - WS_DEBUG_PRINTLN("Subscribing to signals/broker"); + new Adafruit_MQTT_Subscribe(WS._mqtt, WS._topic_signal_brkr, 1); WS._mqtt->subscribe(_topic_signal_brkr_sub); _topic_signal_brkr_sub->setCallback(cbSignalTopic); // Subscribe to registration status topic _topic_description_sub = new Adafruit_MQTT_Subscribe(WS._mqtt, WS._topic_description_status, 1); - WS_DEBUG_PRINTLN("Subscribing to signals/status"); WS._mqtt->subscribe(_topic_description_sub); _topic_description_sub->setCallback(cbRegistrationStatus); }