Update udp.py

This commit is contained in:
SpudGunMan
2025-10-17 17:48:24 -07:00
parent eab099e5ee
commit ac57d4683f
-2
View File
@@ -51,8 +51,6 @@ def on_recieve(packet: mesh_pb2.MeshPacket, addr=None):
channel_status = f"Hash: {packet.channel}"
print("channel:", channel_status)
print("packet_id:", packet.packet_id or None)
if packet.HasField("decoded"):
port_name = portnums_pb2.PortNum.Name(packet.decoded.portnum) if packet.decoded.portnum else "N/A"