add baud setting to debug_console
@@ -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:
