mirror of
https://github.com/hathach/tinyusb.git
synced 2025-10-29 19:49:07 +00:00
increase timeout for mtp hil test
This commit is contained in:
parent
87523f2494
commit
b5faf4f1c1
@ -141,7 +141,8 @@ def read_disk_file(uid, lun, fname):
|
||||
|
||||
def open_mtp_dev(uid):
|
||||
mtp = MTP()
|
||||
timeout = ENUM_TIMEOUT
|
||||
# MTP seems to take a while to enumerate
|
||||
timeout = 2*ENUM_TIMEOUT
|
||||
while timeout > 0:
|
||||
# run_cmd(f"gio mount -u mtp://TinyUsb_TinyUsb_Device_{uid}/")
|
||||
for raw in mtp.detect_devices():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user