mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 09:43:51 +08:00
Ruff: propgate config from OP (#1579)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user