Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/mesh/RadioLibInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,12 @@ void RadioLibInterface::resetAGC()
void RadioLibInterface::checkRxDoneIrqFlag()
{
if (iface->checkIrq(RADIOLIB_IRQ_RX_DONE)) {
LOG_WARN("caught missed RX_DONE");
// This is the normal recovery path for back-to-back RX events where the
// second packet's DIO1 edge happens while the GPIO interrupt was still
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with the log level changes, but this comment block is a novel 😓

// disabled (between ISR disable and the handler re-enabling it).
// Matches the log level used for other "compensated for a normal radio
// oddity" events in this file (e.g. "Ignore false preamble detection").
LOG_DEBUG("Caught RX_DONE via poll (ISR-missed edge, normal under dense RX)");
notify(ISR_RX, true);
}
}
Expand Down
Loading