* ACK packets being 'clipped' (in Dispatcher send). Needed to extend max_airtime timeout calc for short packets

This commit is contained in:
Scott Powell
2026-06-27 21:06:01 +10:00
parent 5ff39c6243
commit 4f8cb8db78
@@ -26,6 +26,11 @@ public:
return rssi;
}
uint32_t getEstAirtimeFor(int len_bytes) override {
auto airtime = RadioLibWrapper::getEstAirtimeFor(len_bytes);
return airtime < 200 ? 200 : airtime; // at least 200 millis
}
void onSendFinished() override {
RadioLibWrapper::onSendFinished();
_radio->setPreambleLength(preambleLengthForSF(getSpreadingFactor())); // overcomes weird issues with small and big pkts