Implement SX127X clearIRQStatus function

This commit is contained in:
jacob.eva 2024-07-03 11:15:30 +01:00
parent 379dce99b3
commit fa16f4a54d
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -1550,7 +1550,10 @@ void sx127x::updateBitrate() {
} }
void sx127x::clearIRQStatus() { void sx127x::clearIRQStatus() {
// todo, implement int irqFlags = readRegister(REG_IRQ_FLAGS_7X);
// Clear IRQs
writeRegister(REG_IRQ_FLAGS_7X, irqFlags);
} }
// SX128x registers // SX128x registers