Przeglądaj źródła

Merge pull request #459 from liquidraver/dev

change fixed preamble to match the new 16
ripplebiz 1 rok temu
rodzic
commit
eb4f81f9ae
1 zmienionych plików z 1 dodań i 1 usunięć
  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(); }