From 499e1e44f52a094e8facc4dafbf262745d3b0b53 Mon Sep 17 00:00:00 2001 From: lumapu Date: Sat, 11 Mar 2023 00:54:10 +0100 Subject: [PATCH] 0.5.98 removed debug outputs --- src/publisher/pubMqtt.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/publisher/pubMqtt.h b/src/publisher/pubMqtt.h index d9063c77..2b2b298e 100644 --- a/src/publisher/pubMqtt.h +++ b/src/publisher/pubMqtt.h @@ -365,7 +365,6 @@ class PubMqtt { strncpy(pyld, (const char*)payload, len); pyld[len] = '\0'; root[F("val")] = atoi(pyld); - DPRINTLN(DBG_INFO, String(pyld) + " " + String(len)); if(pyld[len-1] == 'W') limitAbs = true; delete[] pyld; @@ -403,9 +402,9 @@ class PubMqtt { pos++; } - char out[128]; + /*char out[128]; serializeJson(root, out, 128); - DPRINTLN(DBG_INFO, "json: " + String(out)); + DPRINTLN(DBG_INFO, "json: " + String(out));*/ (mSubscriptionCb)(root); mRxCnt++;