mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
加入反初始化
This commit is contained in:
@@ -55,6 +55,12 @@ USBD_HandleTypeDef hUsbDeviceFS;
|
|||||||
*/
|
*/
|
||||||
/* USER CODE BEGIN 1 */
|
/* USER CODE BEGIN 1 */
|
||||||
|
|
||||||
|
void USER_USB_DEVICE_DeInit(void)
|
||||||
|
{
|
||||||
|
USBD_Stop(&hUsbDeviceFS);
|
||||||
|
USBD_DeInit(&hUsbDeviceFS);
|
||||||
|
}
|
||||||
|
|
||||||
/* USER CODE END 1 */
|
/* USER CODE END 1 */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ void MX_USB_DEVICE_Init(void);
|
|||||||
* -- Insert functions declaration here --
|
* -- Insert functions declaration here --
|
||||||
*/
|
*/
|
||||||
/* USER CODE BEGIN FD */
|
/* USER CODE BEGIN FD */
|
||||||
|
void USER_USB_DEVICE_DeInit(void);
|
||||||
/* USER CODE END FD */
|
/* USER CODE END FD */
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
|||||||
Reference in New Issue
Block a user