mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-04 23:45:32 -04:00
Implement SX127X clearIRQStatus function
This commit is contained in:
parent
379dce99b3
commit
fa16f4a54d
1 changed files with 4 additions and 1 deletions
|
@ -1550,7 +1550,10 @@ void sx127x::updateBitrate() {
|
|||
}
|
||||
|
||||
void sx127x::clearIRQStatus() {
|
||||
// todo, implement
|
||||
int irqFlags = readRegister(REG_IRQ_FLAGS_7X);
|
||||
|
||||
// Clear IRQs
|
||||
writeRegister(REG_IRQ_FLAGS_7X, irqFlags);
|
||||
}
|
||||
|
||||
// SX128x registers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue