mirror of https://github.com/commaai/panda.git
add baud setting to debug_console
This commit is contained in:
parent
435decee22
commit
5f8835ca50
|
@ -20,6 +20,11 @@ if __name__ == "__main__":
|
|||
serials = filter(lambda x: x==os.getenv("SERIAL"), serials)
|
||||
|
||||
pandas = list(map(lambda x: Panda(x, claim=claim), serials))
|
||||
|
||||
if os.getenv("BAUD") is not None:
|
||||
for panda in pandas:
|
||||
panda.set_uart_baud(port_number, int(os.getenv("BAUD")))
|
||||
|
||||
while True:
|
||||
for i, panda in enumerate(pandas):
|
||||
while True:
|
||||
|
|
Loading…
Reference in New Issue