Răsfoiți Sursa

change fixed preamble to match the new 16

liquidraver 1 an în urmă
părinte
comite
ddbf27c245
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/helpers/CustomLR1110Wrapper.h

+ 1 - 1
src/helpers/CustomLR1110Wrapper.h

@@ -17,7 +17,7 @@ public:
 
   void onSendFinished() override {
     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(); }