diff options
author | Bdale Garbee <bdale@gag.com> | 2009-09-06 10:39:23 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2009-09-06 10:39:23 -0600 |
commit | 35c54b3a278fa9bc2bc7f4b5ee04866697c93ba0 (patch) | |
tree | 158e5e258d25e1d1f2ffa55492a3db43c16214ba /ao-tools/lib/cc-usb.h | |
parent | 4f8eff7401ee2d8092ab36fa33411f9b23dda880 (diff) | |
parent | 6d018ab933832e2d80bb1564c339d9fb18b57be2 (diff) |
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'ao-tools/lib/cc-usb.h')
-rw-r--r-- | ao-tools/lib/cc-usb.h | 8 |
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, ...); |