[Si443x] Added software reset
This commit is contained in:
parent
83d77e1ac5
commit
33508e4fa7
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ int16_t Si443x::begin(float br, float freqDev, float rxBw, uint8_t preambleLen)
|
||||||
RADIOLIB_DEBUG_PRINTLN(F("M\tSi443x"));
|
RADIOLIB_DEBUG_PRINTLN(F("M\tSi443x"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// reset the device
|
||||||
|
_mod->SPIwriteRegister(SI443X_REG_OP_FUNC_CONTROL_1, SI443X_SOFTWARE_RESET);
|
||||||
|
|
||||||
// clear POR interrupt
|
// clear POR interrupt
|
||||||
clearIRQFlags();
|
clearIRQFlags();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue