with the help of apnt195, i had modified the STM32 usb hid application program.
during compilation, it showing the following error
demo.c(33): error: #147: declaration is incompatible with "BYTE OutReport" (declared at line 20 of "demo.h") demo.c(56): warning: #167-D: argument of type "BYTE *" is incompatible with parameter of type "char *" demo.c(58): warning: #167-D: argument of type "BYTE *" is incompatible with parameter of type "char *"