change fixed preamble to match the new 16

This commit is contained in:
liquidraver
2025-06-29 15:16:02 +02:00
parent 165fb33d5c
commit ddbf27c245

View File

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