diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-05 00:29:26 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-09-05 00:29:26 -0700 |
commit | 26f56b51bd11aa91f1d77b81827b49c28cb6ec5f (patch) | |
tree | 76824bc0286d1efee1f13293353403ab8f3d5b57 /ao-tools/lib/cc-usb.h | |
parent | 73adae3661160d410dcc802873b530d255c210e5 (diff) |
Add ao-dumplog to capture flight log from command line
This duplicates the functionality of the flight log stuf in ao-view,
except from the command line where it belongs.
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 | 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, ...); |