aboutsummaryrefslogtreecommitdiff
path: root/example-fs-bb48/stream.h
diff options
context:
space:
mode:
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. */