From 3968e611af3bd0302c0e05bb74f9a6f118779d42 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 21 May 2023 18:26:59 +0200 Subject: [PATCH] [PHY] Fixed long prints --- src/protocols/PhysicalLayer/PhysicalLayer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/protocols/PhysicalLayer/PhysicalLayer.cpp b/src/protocols/PhysicalLayer/PhysicalLayer.cpp index eee43ca6..77adf477 100644 --- a/src/protocols/PhysicalLayer/PhysicalLayer.cpp +++ b/src/protocols/PhysicalLayer/PhysicalLayer.cpp @@ -275,7 +275,6 @@ int32_t PhysicalLayer::random(int32_t max) { if(randNum < 0) { randNum *= -1; } - RADIOLIB_DEBUG_PRINTLN("%d", randNum); return(randNum % max); } @@ -347,7 +346,7 @@ void PhysicalLayer::updateDirectBuffer(uint8_t bit) { this->syncBuffer <<= 1; this->syncBuffer |= bit; - RADIOLIB_VERBOSE_PRINTLN("S\t%X", this->syncBuffer); + RADIOLIB_VERBOSE_PRINTLN("S\t%lu", this->syncBuffer); if((this->syncBuffer & this->directSyncWordMask) == this->directSyncWord) { this->gotSync = true;