mirror of
https://github.com/apache/nuttx.git
synced 2025-12-12 22:05:54 +08:00
usbdev: Split usbdev descriptor information
The class device only handles descriptor information specific to the class, and shared descriptor information is passed through parameters and handled by the composite driver. Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
@@ -265,7 +265,7 @@ void *board_composite_connect(int port, int configid)
|
||||
n++;
|
||||
#endif
|
||||
|
||||
return composite_initialize(n, dev);
|
||||
return composite_initialize(composite_getdevdescs(), dev, n);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user