Skip to content

Commit

Permalink
Reduce excessive USB timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mossmann committed Oct 9, 2023
1 parent cc77f52 commit dd8a4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo_fpga/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def create_jtag_spi(self, jtag_chain):



def out_request(self, number, value=0, index=0, data=None, timeout=5000):
def out_request(self, number, value=0, index=0, data=None, timeout=500):
""" Helper that issues an OUT control request to the debugger. """

request_type = usb.ENDPOINT_OUT | usb.RECIP_DEVICE | usb.TYPE_VENDOR
Expand Down

0 comments on commit dd8a4a3

Please sign in to comment.