refactor, mostly removing st bloat
This commit is contained in:
@@ -14,7 +14,6 @@ extern PCD_HandleTypeDef hpcd;
|
||||
// Global USB interrupt handler
|
||||
void USB_IRQHandler(void)
|
||||
{
|
||||
/*printf("USB int !\r\n");*/
|
||||
HAL_PCD_IRQHandler(&hpcd);
|
||||
}
|
||||
|
||||
|
@@ -199,7 +199,7 @@ void SystemClock_Config(void)
|
||||
|
||||
static void usb_init()
|
||||
{
|
||||
USBD_Init(&Solo_USBD_Device, &HID_Desc, 0);
|
||||
USBD_Init(&Solo_USBD_Device, &Solo_Desc, 0);
|
||||
USBD_RegisterClass(&Solo_USBD_Device, &USBD_HID);
|
||||
USBD_Start(&Solo_USBD_Device);
|
||||
}
|
||||
|
Reference in New Issue
Block a user