summaryrefslogtreecommitdiff
path: root/ao-tools/lib/cc-usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/lib/cc-usb.h')
-rw-r--r--ao-tools/lib/cc-usb.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ao-tools/lib/cc-usb.h b/ao-tools/lib/cc-usb.h
index 9baabd95..7b6be350 100644
--- a/ao-tools/lib/cc-usb.h
+++ b/ao-tools/lib/cc-usb.h
@@ -47,12 +47,18 @@ cc_usb_debug_mode(struct cc_usb *cc);
int
cc_usb_reset(struct cc_usb *cc);
-int
+void
cc_usb_sync(struct cc_usb *cc);
void
cc_queue_read(struct cc_usb *cc, uint8_t *buf, int len);
+int
+cc_usb_getchar(struct cc_usb *cc);
+
+void
+cc_usb_getline(struct cc_usb *cc, char *line, int max);
+
void
cc_usb_printf(struct cc_usb *cc, char *format, ...);