simplified the calls

This commit is contained in:
overkillfpv
2026-03-08 05:37:49 +11:00
parent 6fd8c28522
commit a434f9eff5
3 changed files with 4 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ public:
void onSendFinished() override {
RadioLibWrapper::onSendFinished();
_radio->setPreambleLength(getSpreadingFactor() <= 8 ? 32 : 16); // overcomes weird issues with small and big pkts
_radio->setPreambleLength(preambleLengthForSF(getSpreadingFactor())); // overcomes weird issues with small and big pkts
}
float getLastRSSI() const override { return ((CustomLR1110 *)_radio)->getRSSI(); }