[Si443x] Fixed interrupt config in receive
This commit is contained in:
parent
4980846421
commit
c29e4dbf2b
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ int16_t Si443x::startReceive() {
|
|||
_mod->setRfSwitchState(HIGH, LOW);
|
||||
|
||||
// set interrupt mapping
|
||||
_mod->SPIwriteRegister(SI443X_REG_INTERRUPT_ENABLE_1, SI443X_PACKET_SENT_ENABLED);
|
||||
_mod->SPIwriteRegister(SI443X_REG_INTERRUPT_ENABLE_1, SI443X_VALID_PACKET_RECEIVED_ENABLED | SI443X_CRC_ERROR_ENABLED);
|
||||
_mod->SPIwriteRegister(SI443X_REG_INTERRUPT_ENABLE_2, 0x00);
|
||||
|
||||
// set mode to receive
|
||||
|
|
Loading…
Add table
Reference in a new issue