[SX127x] Fixed missing debug newline
This commit is contained in:
parent
0b92a33d83
commit
05bd83e0a2
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ int16_t SX1278::setSpreadingFactor(uint8_t sf) {
|
||||||
// calculate symbol length and set low data rate optimization, if auto-configuration is enabled
|
// calculate symbol length and set low data rate optimization, if auto-configuration is enabled
|
||||||
if(this->ldroAuto) {
|
if(this->ldroAuto) {
|
||||||
float symbolLength = (float)(uint32_t(1) << SX127x::spreadingFactor) / (float)SX127x::bandwidth;
|
float symbolLength = (float)(uint32_t(1) << SX127x::spreadingFactor) / (float)SX127x::bandwidth;
|
||||||
RADIOLIB_DEBUG_PRINT("Symbol length: %f ms", symbolLength);
|
RADIOLIB_DEBUG_PRINTLN("Symbol length: %f ms", symbolLength);
|
||||||
if(symbolLength >= 16.0) {
|
if(symbolLength >= 16.0) {
|
||||||
state = this->mod->SPIsetRegValue(RADIOLIB_SX1278_REG_MODEM_CONFIG_3, RADIOLIB_SX1278_LOW_DATA_RATE_OPT_ON, 3, 3);
|
state = this->mod->SPIsetRegValue(RADIOLIB_SX1278_REG_MODEM_CONFIG_3, RADIOLIB_SX1278_LOW_DATA_RATE_OPT_ON, 3, 3);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue