From 736bd9fd66f4ce15f61d14d12045b5cce351f29c Mon Sep 17 00:00:00 2001 From: wuyangyong Date: Wed, 20 Jan 2010 05:56:28 +0000 Subject: [PATCH] modify stm32 usb-cable git-svn-id: https://rt-thread.googlecode.com/svn/trunk@323 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- .../Libraries/Mass_Storage/inc/platform_config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/stm32_radio/Libraries/Mass_Storage/inc/platform_config.h b/bsp/stm32_radio/Libraries/Mass_Storage/inc/platform_config.h index 127bc8a75..f2eaf0378 100644 --- a/bsp/stm32_radio/Libraries/Mass_Storage/inc/platform_config.h +++ b/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 */ -- GitLab