Skip to content

Commit

Permalink
Update UdpMulticastThread.h
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern authored and caveman99 committed Jan 7, 2025
1 parent d79ae87 commit 2530cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mesh/udp/UdpMulticastThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class UdpMulticastThread : public concurrency::OSThread
bool isPacketDecoded = pb_decode_from_bytes(bytes, packetLength, &meshtastic_MeshPacket_msg, &mp);
if (isPacketDecoded && router) {
UniquePacketPoolPacket p = packetPool.allocUniqueCopy(mp);
// Unset received SNR/RSSI which might have been added by the MQTT gateway
// Unset received SNR/RSSI
p->rx_snr = 0;
p->rx_rssi = 0;
router->enqueueReceivedMessage(p.release());
Expand Down Expand Up @@ -67,4 +67,4 @@ class UdpMulticastThread : public concurrency::OSThread
IPAddress udpIpAddress;
AsyncUDP udp;
};
#endif // ARCH_ESP32
#endif // ARCH_ESP32

0 comments on commit 2530cda

Please sign in to comment.