Refactored processIncoming to process_incoming

This commit is contained in:
Mark Qvist 2024-11-22 14:39:27 +01:00
parent 434ebd2954
commit 823bfd537c
14 changed files with 31 additions and 31 deletions

View file

@ -597,7 +597,7 @@ class RNodeInterface(Interface):
except:
self.bitrate = 0
def processIncoming(self, data):
def process_incoming(self, data):
self.rxb += len(data)
self.owner.inbound(data, self)
self.r_stat_rssi = None
@ -655,7 +655,7 @@ class RNodeInterface(Interface):
if (in_frame and byte == KISS.FEND and command == KISS.CMD_DATA):
in_frame = False
self.processIncoming(data_buffer)
self.process_incoming(data_buffer)
data_buffer = b""
command_buffer = b""
elif (byte == KISS.FEND):