mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-06-08 10:21:52 +03:00
accidental re-inclusion of FIFO PTR reset in dio0 handler
This commit is contained in:
parent
8eb6a51b99
commit
4f90e754f1
@ -675,9 +675,6 @@ void LoRaClass::handleDio0Rise()
|
|||||||
if (_onReceive) {
|
if (_onReceive) {
|
||||||
_onReceive(packetLength);
|
_onReceive(packetLength);
|
||||||
}
|
}
|
||||||
|
|
||||||
// reset FIFO address
|
|
||||||
writeRegister(REG_FIFO_ADDR_PTR, 0);
|
|
||||||
}
|
}
|
||||||
else if ((irqFlags & IRQ_TX_DONE_MASK) != 0) {
|
else if ((irqFlags & IRQ_TX_DONE_MASK) != 0) {
|
||||||
if (_onTxDone) {
|
if (_onTxDone) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user