From 05bd83e0a2367fd4b7d6d8a056db9422e84f9cc3 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 28 May 2023 22:13:51 +0200 Subject: [PATCH] [SX127x] Fixed missing debug newline --- src/modules/SX127x/SX1278.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/SX127x/SX1278.cpp b/src/modules/SX127x/SX1278.cpp index a1b92c0d..ec5266ad 100644 --- a/src/modules/SX127x/SX1278.cpp +++ b/src/modules/SX127x/SX1278.cpp @@ -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 if(this->ldroAuto) { 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) { state = this->mod->SPIsetRegValue(RADIOLIB_SX1278_REG_MODEM_CONFIG_3, RADIOLIB_SX1278_LOW_DATA_RATE_OPT_ON, 3, 3); } else {