Refactored processOutgoing to process_outgoing

This commit is contained in:
Mark Qvist 2024-11-22 14:12:55 +01:00
parent 4a4b625075
commit 36c761e8dd
16 changed files with 33 additions and 33 deletions

View file

@ -190,7 +190,7 @@ class SerialInterface(Interface):
self.owner.inbound(data, self)
threading.Thread(target=af, daemon=True).start()
def processOutgoing(self,data):
def process_outgoing(self,data):
if self.online:
data = bytes([HDLC.FLAG])+HDLC.escape(data)+bytes([HDLC.FLAG])
written = self.serial.write(data)