2021-01-03 11:27 AM
void main()
{
***_Init();
MX_USB_DEVICE_Init();
uint8_t[4] ={0x00, 0x00, 0x00, 0x00};//{button, x, y, wheel}
while(1)
{
UsbFlag = USBD_CUSTOM_HID_SendReport(&hUsbDeviceFS, &Buffr, sizeof(Buffr));
}
}
this work no problem
However, when the computer restarts, it blocks the boot