[SX1231] Removed old call to SPI end

This commit is contained in:
jgromes 2020-02-20 12:19:16 +01:00
parent 3054d966a2
commit 4459432998

View file

@ -37,7 +37,7 @@ int16_t SX1231::begin(float freq, float br, float rxBw, float freqDev, int8_t po
if(!flagFound) {
RADIOLIB_DEBUG_PRINTLN(F("No SX1231 found!"));
SPI.end();
_mod->term();
return(ERR_CHIP_NOT_FOUND);
} else {
RADIOLIB_DEBUG_PRINTLN(F("Found SX1231!"));