mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
usbdev: set ep0 priv only not define CONFIG_USBDEV_COMPOSITE
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
9893bfd45a
commit
0cb8fdfe83
@@ -1661,7 +1661,9 @@ static int cdcecm_bind(FAR struct usbdevclass_driver_s *driver,
|
||||
|
||||
uinfo("\n");
|
||||
|
||||
#ifndef CONFIG_CDCECM_COMPOSITE
|
||||
dev->ep0->priv = self;
|
||||
#endif
|
||||
|
||||
/* Preallocate control request */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user