[SX126x] Fixed debug print format

pull/779/head
jgromes 2023-06-24 22:22:56 +02:00
rodzic 2dafa83058
commit 4975828d03
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -631,7 +631,7 @@ int16_t SX126x::startReceiveDutyCycleAuto(uint16_t senderPreambleLength, uint16_
uint32_t symbolLength = ((uint32_t)(10 * 1000) << this->spreadingFactor) / (10 * this->bandwidthKhz);
uint32_t sleepPeriod = symbolLength * sleepSymbols;
RADIOLIB_DEBUG_PRINTLN("Auto sleep period: %d", sleepPeriod);
RADIOLIB_DEBUG_PRINTLN("Auto sleep period: %lu", sleepPeriod);
// when the unit detects a preamble, it starts a timer that will timeout if it doesn't receive a header in time.
// the duration is sleepPeriod + 2 * wakePeriod.