mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-05 13:14:45 +00:00
Suppress debug messages in PhoneAPI as they flood the logs when a TCP connection is open
This commit is contained in:
parent
ab282765d4
commit
aee06f4738
@ -117,7 +117,7 @@ bool PhoneAPI::handleToRadio(const uint8_t *buf, size_t bufLength)
|
|||||||
size_t PhoneAPI::getFromRadio(uint8_t *buf)
|
size_t PhoneAPI::getFromRadio(uint8_t *buf)
|
||||||
{
|
{
|
||||||
if (!available()) {
|
if (!available()) {
|
||||||
DEBUG_MSG("getFromRadio=not available\n");
|
// DEBUG_MSG("getFromRadio=not available\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
// In case we send a FromRadio packet
|
// In case we send a FromRadio packet
|
||||||
@ -319,7 +319,7 @@ bool PhoneAPI::available()
|
|||||||
if (!packetForPhone)
|
if (!packetForPhone)
|
||||||
packetForPhone = service.getForPhone();
|
packetForPhone = service.getForPhone();
|
||||||
bool hasPacket = !!packetForPhone;
|
bool hasPacket = !!packetForPhone;
|
||||||
DEBUG_MSG("available hasPacket=%d\n", hasPacket);
|
// DEBUG_MSG("available hasPacket=%d\n", hasPacket);
|
||||||
return hasPacket;
|
return hasPacket;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user