aboutsummaryrefslogtreecommitdiff
path: root/example-fs-bb48/stream.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-04-18 17:23:10 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-04-18 17:23:10 +0900
commit0bbb43dd3a943285ffb5462db468f7af29c4bbfb (patch)
tree322f6b9a472dc2f1446ac882943c12b072ac0d77 /example-fs-bb48/stream.h
parent82749ab97af6ec1de605f0638d44999c3b50eadf (diff)
Fix USB driver and example
Diffstat (limited to 'example-fs-bb48/stream.h')
-rw-r--r--example-fs-bb48/stream.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/example-fs-bb48/stream.h b/example-fs-bb48/stream.h
index 15cbe63..77b7014 100644
--- a/example-fs-bb48/stream.h
+++ b/example-fs-bb48/stream.h
@@ -9,8 +9,10 @@
struct stream {
chopstx_mutex_t mtx;
chopstx_cond_t cnd;
+ int sending;
+ unsigned int recv_len;
+ uint8_t recv_buf[BUFSIZE];
uint8_t buf_send[BUFSIZE]; /* Not yet used. */
- uint8_t buf_recv[BUFSIZE]; /* Not yet used. */
uint8_t cnt_send_head; /* Not yet used. */
uint8_t cnt_send_tail; /* Not yet used. */
uint8_t cnt_recv_head; /* Not yet used. */