From cc38c24f4045d21d7f4668dacaff8ebccf19d8ba Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 22 Mar 2019 19:06:22 +0100 Subject: [PATCH] [SX127x] Moved debug strings to flash --- src/modules/SX127x.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/SX127x.cpp b/src/modules/SX127x.cpp index a00d23a9..3895cee8 100644 --- a/src/modules/SX127x.cpp +++ b/src/modules/SX127x.cpp @@ -10,11 +10,11 @@ int16_t SX127x::begin(uint8_t chipVersion, uint8_t syncWord, uint8_t currentLimi // try to find the SX127x chip if(!SX127x::findChip(chipVersion)) { - DEBUG_PRINTLN("No SX127x found!"); + DEBUG_PRINTLN(F("No SX127x found!")); _mod->term(); return(ERR_CHIP_NOT_FOUND); } else { - DEBUG_PRINTLN("Found SX127x!"); + DEBUG_PRINTLN(F("Found SX127x!")); } // check active modem @@ -54,11 +54,11 @@ int16_t SX127x::beginFSK(uint8_t chipVersion, float br, float freqDev, float rxB // try to find the SX127x chip if(!SX127x::findChip(chipVersion)) { - DEBUG_PRINTLN("No SX127x found!"); + DEBUG_PRINTLN(F("No SX127x found!")); _mod->term(); return(ERR_CHIP_NOT_FOUND); } else { - DEBUG_PRINTLN("Found SX127x!"); + DEBUG_PRINTLN(F("Found SX127x!")); } // check currently active modem