mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
always enable datac4
This commit is contained in:
parent
579d1b0c47
commit
85d9036ed3
1 changed files with 4 additions and 2 deletions
|
@ -124,10 +124,12 @@ class MeshRouter():
|
|||
self.log.warning("[MESH] error adding data to routing table", e=e, router=new_router)
|
||||
|
||||
def broadcast_routing_table(self, interval=180):
|
||||
# enable receiving for datac4 if broadcasting
|
||||
modem.RECEIVE_DATAC4 = True
|
||||
|
||||
while True:
|
||||
# always enable receiving for datac4 if broadcasting
|
||||
modem.RECEIVE_DATAC4 = True
|
||||
|
||||
|
||||
threading.Event().wait(1)
|
||||
if MeshParam.enable_protocol:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue