Mercurial > ~darius > hgwebdir.cgi > pyinst
changeset 59:dd27521002a5
Change default timeout to 500msec
author | Daniel O'Connor <doconnor@gsoft.com.au> |
---|---|
date | Fri, 08 Jan 2021 14:04:09 +1030 |
parents | 0684a20cc5c3 |
children | 4558e5ccd775 |
files | usb488.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usb488.py Fri Jan 08 14:03:52 2021 +1030 +++ b/usb488.py Fri Jan 08 14:04:09 2021 +1030 @@ -237,8 +237,8 @@ """Read data from the device, waits for up to timeout seconds for each USB transaction""" if timeout == None: - timeout = 0.1 - + timeout = 0.5 + # Mangle into milliseconds _timeout = int(timeout * 1000.0)