Explorar o código

modify stm32 usb-cable

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@323 bbd45198-f89e-11dd-88c7-29a3b14d5316
wuyangyong %!s(int64=15) %!d(string=hai) anos
pai
achega
736bd9fd66

+ 3 - 3
bsp/stm32_radio/Libraries/Mass_Storage/inc/platform_config.h

@@ -20,9 +20,9 @@
 /* Includes ------------------------------------------------------------------*/
 #include "stm32f10x.h"
 
-#define USB_DISCONNECT                    GPIOA
-#define USB_DISCONNECT_PIN                GPIO_Pin_3
-#define RCC_APB2Periph_GPIO_DISCONNECT    RCC_APB2Periph_GPIOA
+#define USB_DISCONNECT                    GPIOG
+#define USB_DISCONNECT_PIN                GPIO_Pin_7
+#define RCC_APB2Periph_GPIO_DISCONNECT    RCC_APB2Periph_GPIOG
 
 #endif /* __PLATFORM_CONFIG_H */