You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usbstoragedriver: Allow to define a different waiting medium timeout
Nice to have a way to define a timeout for usb storage driver if
it used after a usb switch. This will make this code more simpler
mux_driver = target.get_driver('LXAUSBMuxDriver')
mux_driver.set_links(['host-device'])
time.sleep(3) <-- avoid to use a new sleep here
usb = target.get_driver('USBStorageDriver')
assert usb.get_size() > 0
Signed-off-by: Michael Trimarchi <[email protected]>
0 commit comments