From 5260442aecbc0ae4809f19d5b9af3adaddd02ac6 Mon Sep 17 00:00:00 2001 From: Daniel TARTAVEL Date: Sat, 4 Apr 2026 13:33:02 +0200 Subject: [PATCH] disabled debugging messages --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 04a9a09..c7665c7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,7 +26,7 @@ #define BROKER_ADDRESS "localhost" #define MQTT_PORT 1883; -uint debugLevel = INFO | NOTICE | INFO | WARNING | ERROR | ALERT; +uint debugLevel = ERROR | ALERT; QByteArray toFollow; //class MqttClient; @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) //declaration of debug level pws2mqtt = new Pws2mqtt; - baro = new BarometerTrend; + baro = new BarometerTrend; pws2mqtt->listeningHttp(); @@ -108,7 +108,7 @@ void debug(QString debugHeader, QString msg, uint8_t level, QByteArray property) if ((debugLevel & level) == 4) { qInfo("%s%s WARNING: %s%s", debugHeader.toStdString().c_str(), ORANGE, msg.toStdString().c_str(), NORMAL); - notify (debugHeader + " - " + msg); + notify (debugHeader + " - " + msg); } if ((debugLevel & level) == 8) {