USB Custom Mouse main loop SendRepot Blocking computer startup
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
Labels:
- Labels:
-
USB
0 REPLIES 0
