diff options
| author | hathach <[email protected]> | 2018-12-10 23:15:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-10 23:15:53 +0700 |
| commit | e863c99a6fd50aee7cea2bcf3b86ce0cda14cf95 (patch) | |
| tree | 5a80cc1d833e7325e5eda59676091852de394277 /src/host/usbh.c | |
| parent | 212deaf2f8102208099279562b0c6ce04cb60515 (diff) | |
fix msc host
Diffstat (limited to 'src/host/usbh.c')
| -rw-r--r-- | src/host/usbh.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 127d0f8fd..e1c0600d5 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -69,51 +69,51 @@ static host_class_driver_t const usbh_class_drivers[] = {
#if CFG_TUH_CDC
{
- .class_code = TUSB_CLASS_CDC,
- .init = cdch_init,
- .open = cdch_open,
- .isr = cdch_isr,
- .close = cdch_close
+ .class_code = TUSB_CLASS_CDC,
+ .init = cdch_init,
+ .open = cdch_open,
+ .isr = cdch_isr,
+ .close = cdch_close
},
#endif
#if CFG_TUH_MSC
{
- .class_code = TUSB_CLASS_MSC,
- .init = msch_init,
- .open = msch_open,
- .isr = msch_isr,
- .close = msch_close
+ .class_code = TUSB_CLASS_MSC,
+ .init = msch_init,
+ .open = msch_open,
+ .isr = msch_isr,
+ .close = msch_close
},
#endif
#if HOST_CLASS_HID
{
- .class_code = TUSB_CLASS_HID,
- .init = hidh_init,
- .open = hidh_open_subtask,
- .isr = hidh_isr,
- .close = hidh_close
+ .class_code = TUSB_CLASS_HID,
+ .init = hidh_init,
+ .open = hidh_open_subtask,
+ .isr = hidh_isr,
+ .close = hidh_close
},
#endif
#if CFG_TUH_HUB
{
- .class_code = TUSB_CLASS_HUB,
- .init = hub_init,
- .open = hub_open,
- .isr = hub_isr,
- .close = hub_close
+ .class_code = TUSB_CLASS_HUB,
+ .init = hub_init,
+ .open = hub_open,
+ .isr = hub_isr,
+ .close = hub_close
},
#endif
#if CFG_TUSB_HOST_CUSTOM_CLASS
{
- .class_code = TUSB_CLASS_VENDOR_SPECIFIC,
- .init = cush_init,
- .open = cush_open_subtask,
- .isr = cush_isr,
- .close = cush_close
+ .class_code = TUSB_CLASS_VENDOR_SPECIFIC,
+ .init = cush_init,
+ .open = cush_open_subtask,
+ .isr = cush_isr,
+ .close = cush_close
}
#endif
};
|
