summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-24 23:07:30 +0700
committerhathach <[email protected]>2019-07-24 23:07:30 +0700
commit2a543c0e79b882b054d87f89ee8cf8e83b44e22e (patch)
treeb3e7e50429b6ed2c1f26b483baf948a4662c64f0 /src/device/usbd.c
parent56b656c768a5e1b775ed41a5f74bbf75901f9d74 (diff)
update vendor device similar to cdc read/write
maybe refactor later
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 4ce056e7f..c94d08a67 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -528,7 +528,7 @@ static bool process_set_config(uint8_t rhport, uint8_t cfg_num)
_usbd_dev.itf2drv[desc_itf->bInterfaceNumber] = drv_id;
uint16_t itf_len=0;
- TU_ASSERT( usbd_class_drivers[drv_id].open( rhport, desc_itf, &itf_len ) );
+ TU_ASSERT( usbd_class_drivers[drv_id].open(rhport, desc_itf, &itf_len) );
TU_ASSERT( itf_len >= sizeof(tusb_desc_interface_t) );
mark_interface_endpoint(_usbd_dev.ep2drv, p_desc, itf_len, drv_id);