refactor, mostly removing st bloat

This commit is contained in:
Conor Patrick
2018-10-24 18:42:50 -04:00
parent 4f02db3f1e
commit fb93891685
11 changed files with 106 additions and 557 deletions

View File

@@ -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);
}

View File

@@ -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);
}