From 64d4c920e27b2776aab8f4451e9d89c9b047bdd2 Mon Sep 17 00:00:00 2001 From: Martin Loren <37680207+martinloren@users.noreply.github.com> Date: Wed, 22 Dec 2021 19:09:55 +0800 Subject: [PATCH] Update usb_init.c --- .../libraries/AT32_USB-FS-Device_Driver/src/usb_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.platformio/packages/framework-cmsis-at32f40/libraries/AT32_USB-FS-Device_Driver/src/usb_init.c b/.platformio/packages/framework-cmsis-at32f40/libraries/AT32_USB-FS-Device_Driver/src/usb_init.c index 673abe3..a17a70b 100644 --- a/.platformio/packages/framework-cmsis-at32f40/libraries/AT32_USB-FS-Device_Driver/src/usb_init.c +++ b/.platformio/packages/framework-cmsis-at32f40/libraries/AT32_USB-FS-Device_Driver/src/usb_init.c @@ -88,6 +88,8 @@ void USB_BluePill_Reenumerate() */ void USB_Init(void) { + /*if use USB SRAM_Size = 768 Byte, default is 512 Byte*/ + Set_USB768ByteMode(); //reenumerate(); //USB_BluePill_Reenumerate(); pInformation = &Device_Info;