From f8e9e6adff697a507b5cf70e001da3089d0a3bdd Mon Sep 17 00:00:00 2001 From: agsler Date: Tue, 20 Dec 2022 13:01:59 +0100 Subject: [PATCH] mute mqtt prints --- mqtt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mqtt.c b/mqtt.c index 0a2dccf..71e77a5 100644 --- a/mqtt.c +++ b/mqtt.c @@ -41,7 +41,7 @@ void mqtt_pub(Client* mqtt_client, char * mqtt_topic, char * mqtt_msg, int mqtt_ static uint8_t mqtt_err_cnt = 0; int32_t mqtt_rc; - printf(">>MQTT pub msg nr%lu ", ++mqtt_pub_count); + //printf(">>MQTT pub msg nr%lu ", ++mqtt_pub_count); MQTTMessage pubMessage; pubMessage.qos = QOS0; pubMessage.id = mes_id++; @@ -52,7 +52,7 @@ void mqtt_pub(Client* mqtt_client, char * mqtt_topic, char * mqtt_msg, int mqtt_ if (mqtt_rc == SUCCESSS) { mqtt_err_cnt = 0; - printf(" - OK\r\n"); + //printf(" - OK\r\n"); } else {