mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-06 08:25:57 -04:00
Refactored processOutgoing to process_outgoing
This commit is contained in:
parent
4a4b625075
commit
36c761e8dd
16 changed files with 33 additions and 33 deletions
|
@ -604,7 +604,7 @@ class RNodeInterface(Interface):
|
|||
self.r_stat_snr = None
|
||||
|
||||
|
||||
def processOutgoing(self,data):
|
||||
def process_outgoing(self,data):
|
||||
datalen = len(data)
|
||||
if self.online:
|
||||
if self.interface_ready:
|
||||
|
@ -635,7 +635,7 @@ class RNodeInterface(Interface):
|
|||
if len(self.packet_queue) > 0:
|
||||
data = self.packet_queue.pop(0)
|
||||
self.interface_ready = True
|
||||
self.processOutgoing(data)
|
||||
self.process_outgoing(data)
|
||||
elif len(self.packet_queue) == 0:
|
||||
self.interface_ready = True
|
||||
|
||||
|
@ -935,7 +935,7 @@ class RNodeInterface(Interface):
|
|||
if self.first_tx != None:
|
||||
if time.time() > self.first_tx + self.id_interval:
|
||||
RNS.log("Interface "+str(self)+" is transmitting beacon data: "+str(self.id_callsign.decode("utf-8")), RNS.LOG_DEBUG)
|
||||
self.processOutgoing(self.id_callsign)
|
||||
self.process_outgoing(self.id_callsign)
|
||||
|
||||
sleep(0.08)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue