[PHY] Fixed long prints
This commit is contained in:
parent
bb4a45e850
commit
3968e611af
1 changed files with 1 additions and 2 deletions
|
@ -275,7 +275,6 @@ int32_t PhysicalLayer::random(int32_t max) {
|
||||||
if(randNum < 0) {
|
if(randNum < 0) {
|
||||||
randNum *= -1;
|
randNum *= -1;
|
||||||
}
|
}
|
||||||
RADIOLIB_DEBUG_PRINTLN("%d", randNum);
|
|
||||||
return(randNum % max);
|
return(randNum % max);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -347,7 +346,7 @@ void PhysicalLayer::updateDirectBuffer(uint8_t bit) {
|
||||||
this->syncBuffer <<= 1;
|
this->syncBuffer <<= 1;
|
||||||
this->syncBuffer |= bit;
|
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) {
|
if((this->syncBuffer & this->directSyncWordMask) == this->directSyncWord) {
|
||||||
this->gotSync = true;
|
this->gotSync = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue