mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-07-23 06:51:08 -04:00
Refactored processIncoming to process_incoming
This commit is contained in:
parent
434ebd2954
commit
823bfd537c
14 changed files with 31 additions and 31 deletions
|
@ -133,7 +133,7 @@ class SerialInterface(Interface):
|
|||
RNS.log("Serial port "+self.port+" is now open", RNS.LOG_VERBOSE)
|
||||
|
||||
|
||||
def processIncoming(self, data):
|
||||
def process_incoming(self, data):
|
||||
self.rxb += len(data)
|
||||
self.owner.inbound(data, self)
|
||||
|
||||
|
@ -161,7 +161,7 @@ class SerialInterface(Interface):
|
|||
|
||||
if (in_frame and byte == HDLC.FLAG):
|
||||
in_frame = False
|
||||
self.processIncoming(data_buffer)
|
||||
self.process_incoming(data_buffer)
|
||||
elif (byte == HDLC.FLAG):
|
||||
in_frame = True
|
||||
data_buffer = b""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue