X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Flib%2Fcc-usb.h;fp=ao-tools%2Flib%2Fcc-usb.h;h=f11934560a917119a2b6a0d2377e23a412bf1cc5;hp=e90e1195b100f34a5858bb8b6e2500609e66fe95;hb=15bc83a0eaaa9a43d67fdc3e9f412d5b2c1f06dd;hpb=50dd268a715224a01f8a6b481670a4ae6621cb28 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 @@ -53,6 +53,9 @@ cc_usb_sync(struct cc_usb *cc); 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);