[Si443x] Fixed modulation config (#313)
This commit is contained in:
parent
0b97620785
commit
4980846421
1 changed files with 3 additions and 0 deletions
|
@ -199,6 +199,9 @@ int16_t Si443x::receiveDirect() {
|
|||
}
|
||||
|
||||
int16_t Si443x::packetMode() {
|
||||
int16_t state = _mod->SPIsetRegValue(SI443X_REG_MODULATION_MODE_CONTROL_2, SI443X_MODULATION_FSK, 1, 0);
|
||||
RADIOLIB_ASSERT(state);
|
||||
|
||||
return(_mod->SPIsetRegValue(SI443X_REG_MODULATION_MODE_CONTROL_2, SI443X_TX_DATA_SOURCE_FIFO, 5, 4));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue