From 9bdb7b60dfb4dfcefeabfc614f87e4dd1cf2a0fd Mon Sep 17 00:00:00 2001 From: Pawel Jalocha Date: Tue, 22 Mar 2022 17:58:16 +0000 Subject: [PATCH] Avoid transmitting FANET when random address-type --- main/rf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/rf.cpp b/main/rf.cpp index 1ac8847..9e49a8f 100644 --- a/main/rf.cpp +++ b/main/rf.cpp @@ -656,7 +656,7 @@ extern "C" #ifdef WITH_LORAWAN if(!WANtx && TxPkt0 && WANdev.State!=1 && WANdev.State!=3) // if no WAN transmission/reception scheduled #else - if(TxPkt0) + if(TxPkt0 && TxPkt0->Header.AddrType) #endif { PAW_Packet Packet; Packet.Clear(); OGN1_Packet TxPkt = TxPkt0->Packet;