Update udp.py

This commit is contained in:
Kelly committed 2026-08-25 11:32:11 -07:00
1 parent 869ee627b4
commit 0d029a9b57
1 file changed
+2 -2
+2 -2
View File
@@ -31,7 +31,7 @@ class ZeroconfListner:
# This method is required by zeroconf, but you can leave it empty if you don't need updates.
pass
def initalize_mudp():
def initialize_mudp():
global mudpInterface
if mudpEnabled and mudpInterface is None:
mudpInterface = UDPPacketStream(MCAST_GRP, MCAST_PORT, key=KEY)
@@ -93,7 +93,7 @@ listener = ZeroconfListner()
browser = ServiceBrowser(zeroconf, "_meshtastic._tcp.local.", listener)
def main():
initalize_mudp()
initialize_mudp()
mudpInterface.start()
try:
while True: time.sleep(0.05)