diff options
author | Keith Packard <keithp@keithp.com> | 2013-03-20 23:22:37 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-03-20 23:22:37 -0700 |
commit | 15bc83a0eaaa9a43d67fdc3e9f412d5b2c1f06dd (patch) | |
tree | 5c6b064b893ed6d398914acb7d31abc2e1cd4251 /ao-tools/lib/cc-usb.h | |
parent | 50dd268a715224a01f8a6b481670a4ae6621cb28 (diff) |
ao-tools: Make library support µPusb
Set baud rate to 9600, look for FTDI-style names
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ao-tools/lib/cc-usb.h b/ao-tools/lib/cc-usb.h index e90e1195..f1193456 100644 --- a/ao-tools/lib/cc-usb.h +++ b/ao-tools/lib/cc-usb.h @@ -54,6 +54,9 @@ void cc_queue_read(struct cc_usb *cc, uint8_t *buf, int len); int +cc_usb_getchar_timeout(struct cc_usb *cc, int timeout); + +int cc_usb_getchar(struct cc_usb *cc); void |