From 2c26e454cf8e4fec2b112f01e9f2fc6ebf394f45 Mon Sep 17 00:00:00 2001 From: George Hotz Date: Mon, 12 Mar 2018 18:32:33 -0700 Subject: [PATCH] add sleep --- tests/pedal/enter_canloader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/pedal/enter_canloader.py b/tests/pedal/enter_canloader.py index 32103d7d1ef45b..c6f06ca35499a0 100755 --- a/tests/pedal/enter_canloader.py +++ b/tests/pedal/enter_canloader.py @@ -66,6 +66,7 @@ def bulkRead(self, endpoint, length, timeout=0): p.can_send(0x200, "\xce\xfa\xad\xde\x1e\x0b\xb0\x0a", 0) if args.fn: + time.sleep(0.1) print "flashing", args.fn code = open(args.fn).read() Panda.flash_static(CanHandle(p), code)