add IRQ timeout logic for LR11X0

This commit is contained in:
taco
2026-07-17 21:45:31 +10:00
parent 79ef74ea8d
commit 0bd871cde6
2 changed files with 46 additions and 3 deletions
@@ -14,6 +14,8 @@ public:
((CustomLR1110 *)_radio)->setBandwidth(bw);
((CustomLR1110 *)_radio)->setCodingRate(cr);
updatePreamble(sf);
((CustomLR1110 *)_radio)->setMaxPacketMillis(calcMaxPacketMillis(sf, bw, cr, preambleLengthForSF(sf)));
}
void doResetAGC() override { lr11x0ResetAGC((LR11x0 *)_radio, ((CustomLR1110 *)_radio)->getFreqMHz()); }