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) {