summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-12-15 17:16:19 +0700
committerhathach <[email protected]>2022-12-16 17:08:37 +0700
commit4811b3463ff20fb6eee551b42d66a6e74b411746 (patch)
tree7cc9dd306272c2e306300b825ab021dc32f5e179 /src/class
parentbd1f7f86ce1b6e82c3942d545e984b74b050004e (diff)
stub
Diffstat (limited to 'src/class')
-rw-r--r--src/class/cdc/cdc_host.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c
index da8ad726b..cb0794fa3 100644
--- a/src/class/cdc/cdc_host.c
+++ b/src/class/cdc/cdc_host.c
@@ -36,6 +36,14 @@
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF
//--------------------------------------------------------------------+
+
+//typedef struct {
+// tu_fifo_t fifo;
+// OSAL_MUTEX_DEF(ff_mutex);
+//
+//
+//}usbh_edpt_stream_t;
+
typedef struct {
uint8_t daddr;
uint8_t itf_num;
@@ -184,6 +192,13 @@ bool tuh_cdc_set_control_line_state(uint8_t dev_addr, bool dtr, bool rts, tuh_xf
void cdch_init(void)
{
tu_memclr(cdch_data, sizeof(cdch_data));
+
+// for(size_t i=0; i<CFG_TUH_CDC; i++)
+// {
+// cdch_interface_t* p_cdc = &cdch_data[i];
+//
+//
+// }
}
void cdch_close(uint8_t dev_addr)