cherry-embedded / CherryUSB

CherryUSB is a tiny, beautiful and portable USB host and device stack for embedded system with USB IP
https://cherryusb.readthedocs.io/
Apache License 2.0
1.21k stars 256 forks source link

fix(core/usbd_core.c):can't find hid_descriptor. #219

Closed liuhy-2020 closed 2 months ago

liuhy-2020 commented 2 months ago

宏定义#define DESC_bDescriptorType 1 /* Descriptor type offset /

p[DESC_bDescriptorType ] 为 USB_DESCRIPTOR_TYPE_INTERFACE(0x04U)时,p[1]不可能是0x21。

sakumisu commented 2 months ago

这个我需要再修改一次,暂时不合并了

liuhy-2020 commented 2 months ago

sakumisu commented 2 months ago

已经重新amend,请rebase下

liuhy-2020 commented 1 month ago

好的