[SX1231] Added interface argument to Module::term

This commit is contained in:
jgromes 2020-05-17 20:28:05 +02:00
parent b0a6b1db08
commit 6e7554191f

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!"));
_mod->term();
_mod->term(RADIOLIB_USE_SPI);
return(ERR_CHIP_NOT_FOUND);
} else {
RADIOLIB_DEBUG_PRINTLN(F("Found SX1231!"));