summaryrefslogtreecommitdiff
path: root/ao-tools/lib/cc-usb.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-01-25 19:58:38 -0800
committerKeith Packard <keithp@keithp.com>2015-01-25 19:58:38 -0800
commit32c68670af9f8aa690c64d64502e559c0df0c1db (patch)
tree97182ee7a519f7d76c9931f350283adbe5f6340f /ao-tools/lib/cc-usb.h
parent02b07a202839d6e68b3f0db7f8965478661db140 (diff)
ao-tools: Add --wait option to ao-usbload
This waits forever for USB writes to complete, instead of timing out after five seconds. Useful when debugging the device. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib/cc-usb.h')
-rw-r--r--ao-tools/lib/cc-usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ao-tools/lib/cc-usb.h b/ao-tools/lib/cc-usb.h
index e08a956b..9ed198cd 100644
--- a/ao-tools/lib/cc-usb.h
+++ b/ao-tools/lib/cc-usb.h
@@ -23,6 +23,8 @@
struct cc_usb;
+extern int cc_default_timeout;
+
struct cc_usb *
cc_usb_open(char *tty);