X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ao-tools%2Flib%2Fcc-usb.h;h=f11934560a917119a2b6a0d2377e23a412bf1cc5;hb=8959c059ec67f5334e31abbe3f831dd571a0b464;hp=e90e1195b100f34a5858bb8b6e2500609e66fe95;hpb=760b1f02c178c600226f39b5e66d8cbadbf4a29b;p=fw%2Faltos 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);