diff --git a/USB/usb_device.c b/USB/usb_device.c index 1db7501..a85de0e 100644 --- a/USB/usb_device.c +++ b/USB/usb_device.c @@ -61,10 +61,7 @@ /* USB Device Core handle declaration */ USBD_HandleTypeDef hUsbDeviceFS; - -/* USER CODE BEGIN Includes */ -extern PCD_HandleTypeDef hpcd_USB_FS; -/* USER CODE END Includes */ +PCD_HandleTypeDef hpcd_USB_FS; /* init function */ void MX_USB_DEVICE_Init(void)