Skip to content

Any reason for resetting REG_FIFO_ADDR_PTR in LoRaClass::handleDio0Rise() ? #218

Closed
@iw2lsi

Description

@iw2lsi

Hi all,

just a doubt.. what's the reason of resetting REG_FIFO_ADDR_PTR register at the end of the handleDio0Rise() function ?

I cannot find anything pointing in this direction in the datasheets... and it seems to me dangerous in case another packet is incoming while we are executing the _onReceive()...

If this is fine... shouldn't we pospone the reset of the IRQ flags after the line:

writeRegister(REG_FIFO_ADDR_PTR, 0) ?

Best Regards

        Giampaolo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions