[Si443x] Added interface argument to Module::term
This commit is contained in:
parent
e6caf3fc37
commit
b0a6b1db08
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ int16_t Si443x::begin(float br, float freqDev, float rxBw) {
|
||||||
// try to find the Si443x chip
|
// try to find the Si443x chip
|
||||||
if(!Si443x::findChip()) {
|
if(!Si443x::findChip()) {
|
||||||
RADIOLIB_DEBUG_PRINTLN(F("No Si443x found!"));
|
RADIOLIB_DEBUG_PRINTLN(F("No Si443x found!"));
|
||||||
_mod->term();
|
_mod->term(RADIOLIB_USE_SPI);
|
||||||
return(ERR_CHIP_NOT_FOUND);
|
return(ERR_CHIP_NOT_FOUND);
|
||||||
} else {
|
} else {
|
||||||
RADIOLIB_DEBUG_PRINTLN(F("Found Si443x!"));
|
RADIOLIB_DEBUG_PRINTLN(F("Found Si443x!"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue