这个编译好像有问题。
S_USBD_INFO_T gsInfo = {
gu8DeviceDescriptor,
gu8ConfigDescriptor,
gpu8UsbString,
gu8QualifierDescriptor,
gu8OtherConfigDescriptor,
gu8UsbHidReport,
gu32UsbHidReportLen,
};
其中 gu8UsbHidReport, gu32UsbHidReportLen 会引起错误。
..\descriptors.c(336): error: #144: a value of type "uint8_t **" cannot be used to initialize an entity of type "uint8_t *"
..\descriptors.c(337): error: #144: a value of type "uint32_t *" cannot be used to initialize an entity of type "uint8_t *"
何解? |