Skip to content

Commit

Permalink
Update Port.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hopez13 authored Sep 14, 2024
1 parent 2e65679 commit 35c5803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mtkclient/Library/Port.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def handshake(self, maxtries=None, loop=0):
try:
if maxtries is not None and counter == maxtries:
break
counter += 1
self.cdc.connect()
ep_out = self.cdc.EP_OUT.write
ep_in = self.cdc.EP_IN.read
Expand Down

0 comments on commit 35c5803

Please sign in to comment.