[PHY] Fixed long prints

This commit is contained in:
jgromes 2023-05-21 18:26:59 +02:00
parent bb4a45e850
commit 3968e611af

View file

@ -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;