소스 검색

Remove retransmit check for RS232 bridge in logTx

Since the flag is preserved and respected by the mesh processing on the receiving end, there's no risk of these packets being retransmitted endlessly.
João Brázio 11 달 전
부모
커밋
cb99eb4ae8
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      examples/simple_repeater/main.cpp

+ 1 - 3
examples/simple_repeater/main.cpp

@@ -309,9 +309,7 @@ protected:
   }
   void logTx(mesh::Packet* pkt, int len) override {
 #ifdef WITH_RS232_BRIDGE
-    if (!pkt->isMarkedDoNotRetransmit()) {
-      bridge->onPacketTransmitted(pkt);
-    }
+    bridge->onPacketTransmitted(pkt);
 #endif
     if (_logging) {
       File f = openAppend(PACKET_LOG_FILE);