Skip to content

Commit

Permalink
add sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Mar 13, 2018
1 parent 27c7637 commit 2c26e45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/pedal/enter_canloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2c26e45

Please sign in to comment.