Преглед изворни кода

change fixed preamble to match the new 16

liquidraver пре 1 година
родитељ
комит
ddbf27c245
1 измењених фајлова са 1 додато и 1 уклоњено
  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(); }