[RF69] Removed old call to SPI end
This commit is contained in:
parent
a60837bb9d
commit
3054d966a2
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ int16_t RF69::begin(float freq, float br, float freqDev, float rxBw, int8_t powe
|
||||||
|
|
||||||
if(!flagFound) {
|
if(!flagFound) {
|
||||||
RADIOLIB_DEBUG_PRINTLN(F("No RF69 found!"));
|
RADIOLIB_DEBUG_PRINTLN(F("No RF69 found!"));
|
||||||
SPI.end();
|
_mod->term();
|
||||||
return(ERR_CHIP_NOT_FOUND);
|
return(ERR_CHIP_NOT_FOUND);
|
||||||
} else {
|
} else {
|
||||||
RADIOLIB_DEBUG_PRINTLN(F("Found RF69! (match by RF69_REG_VERSION == 0x24)"));
|
RADIOLIB_DEBUG_PRINTLN(F("Found RF69! (match by RF69_REG_VERSION == 0x24)"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue