Browse Source

Merge pull request #459 from liquidraver/dev

change fixed preamble to match the new 16
ripplebiz 1 năm trước cách đây
mục cha
commit
eb4f81f9ae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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(); }