From aee06f4738b5726fdc190af292b4bac91d160d7b Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Sat, 1 Oct 2022 12:09:43 +0200 Subject: [PATCH] Suppress debug messages in PhoneAPI as they flood the logs when a TCP connection is open --- src/mesh/PhoneAPI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesh/PhoneAPI.cpp b/src/mesh/PhoneAPI.cpp index b3f500f01..a725e6283 100644 --- a/src/mesh/PhoneAPI.cpp +++ b/src/mesh/PhoneAPI.cpp @@ -117,7 +117,7 @@ bool PhoneAPI::handleToRadio(const uint8_t *buf, size_t bufLength) size_t PhoneAPI::getFromRadio(uint8_t *buf) { if (!available()) { - DEBUG_MSG("getFromRadio=not available\n"); + // DEBUG_MSG("getFromRadio=not available\n"); return 0; } // In case we send a FromRadio packet @@ -319,7 +319,7 @@ bool PhoneAPI::available() if (!packetForPhone) packetForPhone = service.getForPhone(); bool hasPacket = !!packetForPhone; - DEBUG_MSG("available hasPacket=%d\n", hasPacket); + // DEBUG_MSG("available hasPacket=%d\n", hasPacket); return hasPacket; } default: