|
@@ -6,7 +6,6 @@ |
|
|
|
|
|
|
|
|
#include <usb_device.h> |
|
|
#include <usb_device.h> |
|
|
|
|
|
|
|
|
#if 1 |
|
|
|
|
|
static void |
|
|
static void |
|
|
usb_cdc_init(const void *foo) |
|
|
usb_cdc_init(const void *foo) |
|
|
{ |
|
|
{ |
|
@@ -24,5 +23,4 @@ USB_LP_IRQHandler(void) |
|
|
HAL_PCD_IRQHandler(&hpcd_USB_FS); |
|
|
HAL_PCD_IRQHandler(&hpcd_USB_FS); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
SYSINIT(abkdkd, SI_SUB_CONSOLE, SI_ORDER_FIRST, usb_cdc_init, NULL); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
SYSINIT(usb_cdc_init, SI_SUB_CONSOLE, SI_ORDER_FIRST, usb_cdc_init, NULL); |