summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-07-05 11:46:12 +0700
committerhathach <[email protected]>2013-07-05 11:46:12 +0700
commitc08c655fd120033f33fc40464018c743c646a512 (patch)
treefbc0a3cbd48c45c09a1bb1b00b8ee4ed99935abd /demos
parent9d50b0fa6a6a42d79bc35ccccf212af805a93ae6 (diff)
implementing initializing for RNDIS
Diffstat (limited to 'demos')
-rw-r--r--demos/host/src/cdc_serial_app.c2
-rw-r--r--demos/host/src/tusb_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/host/src/cdc_serial_app.c b/demos/host/src/cdc_serial_app.c
index 4cb4bc365..93f5f1514 100644
--- a/demos/host/src/cdc_serial_app.c
+++ b/demos/host/src/cdc_serial_app.c
@@ -56,7 +56,7 @@ static osal_queue_handle_t queue_hdl;
static uint8_t buffer_in[64] TUSB_CFG_ATTR_USBRAM;
//--------------------------------------------------------------------+
-// INTERNAL OBJECT & FUNCTION DECLARATION
+// tinyusb Callbacks
//--------------------------------------------------------------------+
void tusbh_cdc_mounted_cb(uint8_t dev_addr)
{
diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h
index d5eda34ec..d6a0d6162 100644
--- a/demos/host/src/tusb_config.h
+++ b/demos/host/src/tusb_config.h
@@ -78,7 +78,7 @@
#define TUSB_CFG_HOST_HID_GENERIC 0
#define TUSB_CFG_HOST_MSC 0
#define TUSB_CFG_HOST_CDC 1
-#define TUSB_CFG_HOST_CDC_RNDIS 0
+#define TUSB_CFG_HOST_CDC_RNDIS 1
//--------------------------------------------------------------------+
// DEVICE CONFIGURATION