From 12bf3795ea7bebc6a73d360a1ca555b60302f206 Mon Sep 17 00:00:00 2001 From: geeksville Date: Sun, 2 Aug 2020 12:55:22 -0700 Subject: [PATCH] less logspam when debugging the serial API --- src/mesh/PhoneAPI.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mesh/PhoneAPI.cpp b/src/mesh/PhoneAPI.cpp index 5e25e932..2e8800c1 100644 --- a/src/mesh/PhoneAPI.cpp +++ b/src/mesh/PhoneAPI.cpp @@ -1,9 +1,9 @@ #include "PhoneAPI.h" +#include "GPS.h" #include "MeshService.h" #include "NodeDB.h" #include "PowerFSM.h" #include "RadioInterface.h" -#include "GPS.h" #include "timing.h" #include @@ -80,7 +80,6 @@ void PhoneAPI::handleToRadio(const uint8_t *buf, size_t bufLength) } } - /** * Get the next packet we want to send to the phone, or NULL if no such packet is available. * @@ -96,7 +95,7 @@ void PhoneAPI::handleToRadio(const uint8_t *buf, size_t bufLength) size_t PhoneAPI::getFromRadio(uint8_t *buf) { if (!available()) { - DEBUG_MSG("getFromRadio, !available\n"); + // DEBUG_MSG("getFromRadio, !available\n"); return false; } else { DEBUG_MSG("getFromRadio, state=%d\n", state);