cancel
Showing results for 
Search instead for 
Did you mean: 

USB Custom Mouse main loop SendRepot Blocking computer startup

Vyou .1
Associate
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

 0693W000006HLeKQAW.jpg

0 REPLIES 0