[SX1231] Added interface argument to Module::term
This commit is contained in:
parent
b0a6b1db08
commit
6e7554191f
1 changed files with 1 additions and 1 deletions
|
@ -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!"));
|
||||
|
|
Loading…
Add table
Reference in a new issue