diff options
| author | hathach <[email protected]> | 2013-06-29 16:06:45 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-06-29 16:06:45 +0700 |
| commit | 7e6e5cc35630d1d173df06701cbb310bd5f20a2a (patch) | |
| tree | 385e3110ad922d76b45aea311a29a43e1d99cfbb /tinyusb/host | |
| parent | d4f31e149accff338592f2172a0cccc8372c837a (diff) | |
[CDC]
- add configure option
- add include path
- add driver function table
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/usbh.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index 90ee096cd..fa366cb66 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -65,6 +65,15 @@ static host_class_driver_t const usbh_class_drivers[TUSB_CLASS_MAPPED_INDEX_END] }, #endif +#if TUSB_CFG_HOST_CDC + [TUSB_CLASS_CDC] = { + .init = cdch_init, + .open_subtask = cdch_open_subtask, + .isr = cdch_isr, + .close = cdch_close + }, +#endif + #if TUSB_CFG_HOST_MSC [TUSB_CLASS_MSC] = { .init = msch_init, |
