Ruff: propgate config from OP (#1579)

This commit is contained in:
Justin Newberry
2023-08-14 12:52:02 -07:00
committed by GitHub
parent 05295dc42a
commit 4ea50fbb09
22 changed files with 30 additions and 60 deletions

View File

@@ -8,7 +8,7 @@ class PandaSerial(object):
self.panda.set_uart_baud(self.port, baud)
self.buf = b""
def read(self, l=1): # noqa: E741
def read(self, l=1):
tt = self.panda.serial_read(self.port)
if len(tt) > 0:
self.buf += tt