From b7bf1505949879d70a9c7b2f4ef3868c4d4460e3 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 5 Dec 2020 12:05:42 +0100 Subject: [PATCH] [SX127x] Update markers for debug decoder --- src/modules/SX127x/SX127x.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/SX127x/SX127x.cpp b/src/modules/SX127x/SX127x.cpp index 6635b71b..a08b0374 100644 --- a/src/modules/SX127x/SX127x.cpp +++ b/src/modules/SX127x/SX127x.cpp @@ -16,9 +16,8 @@ int16_t SX127x::begin(uint8_t chipVersion, uint8_t syncWord, uint16_t preambleLe RADIOLIB_DEBUG_PRINTLN(F("No SX127x found!")); _mod->term(RADIOLIB_USE_SPI); return(ERR_CHIP_NOT_FOUND); - } else { - RADIOLIB_DEBUG_PRINTLN(F("Found SX127x!")); } + RADIOLIB_DEBUG_PRINTLN(F("M\tSX127x")); // set mode to standby int16_t state = standby(); @@ -59,9 +58,8 @@ int16_t SX127x::beginFSK(uint8_t chipVersion, float br, float freqDev, float rxB RADIOLIB_DEBUG_PRINTLN(F("No SX127x found!")); _mod->term(RADIOLIB_USE_SPI); return(ERR_CHIP_NOT_FOUND); - } else { - RADIOLIB_DEBUG_PRINTLN(F("Found SX127x!")); } + RADIOLIB_DEBUG_PRINTLN(F("M\tSX127x")); // check currently active modem int16_t state;