diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-06-08 12:04:05 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-06-08 15:40:55 +0900 |
commit | 5f1c26ff176ee46f846f74ab361d62305a34c01a (patch) | |
tree | a2d93fad1511ce37967afc81aa9bb824b396c89c /example-cdc/tty.h | |
parent | 78718e57df6f55c0670cdb6b70337204dd045dba (diff) |
USB API major change
Diffstat (limited to 'example-cdc/tty.h')
-rw-r--r-- | example-cdc/tty.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example-cdc/tty.h b/example-cdc/tty.h index bd0f070..77e7f46 100644 --- a/example-cdc/tty.h +++ b/example-cdc/tty.h @@ -5,5 +5,5 @@ struct tty; struct tty *tty_open (void); void tty_wait_configured (struct tty *tty); void tty_wait_connection (struct tty *tty); -int tty_send (struct tty *tty, uint8_t *buf, int count); -int tty_recv (struct tty *tty, uint8_t *buf, uint32_t *timeout); +int tty_send (struct tty *tty, const char *buf, int count); +int tty_recv (struct tty *tty, char *buf, uint32_t *timeout); |