[SX127x] Moved debug strings to flash

This commit is contained in:
jgromes 2019-03-22 19:06:22 +01:00
parent 000a771374
commit cc38c24f40

View file

@ -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