Squashed 'panda/' changes from 06958e4..38dc4e6

38dc4e6 Chrysler safety: better to mention messages we don't want to forward
236705f chrysler: forward bus 0 to bus 2 (#177)
62d4219 debug_console.py: exit when no pandas found (#175)

git-subtree-dir: panda
git-subtree-split: 38dc4e678325d13b4324f91f6eff8cb6a0fe575d

old-commit-hash: 27ef9f2236
This commit is contained in:
Nigel Armstrong
2019-04-12 16:57:32 -07:00
parent 8f25d45624
commit 698871ecc7
2 changed files with 23 additions and 3 deletions
+3
View File
@@ -21,6 +21,9 @@ if __name__ == "__main__":
pandas = list(map(lambda x: Panda(x, claim=claim), serials))
if not len(pandas):
sys.exit("no pandas found")
if os.getenv("BAUD") is not None:
for panda in pandas:
panda.set_uart_baud(port_number, int(os.getenv("BAUD")))