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 */
|
||||
|
||||
void USER_USB_DEVICE_DeInit(void)
|
||||
{
|
||||
USBD_Stop(&hUsbDeviceFS);
|
||||
USBD_DeInit(&hUsbDeviceFS);
|
||||
}
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user