Index: fw/sdk/yc_gpio.c
===================================================================
--- /YC3121_SDK/fw/sdk/yc_gpio.c	(revision 660)
+++ /YC3121_SDK/fw/sdk/yc_gpio.c	(working copy)
@@ -7,6 +7,7 @@
 */
 
 #include "yc_gpio.h"
+#include "yc_lpm.h"
 
 void GPIO_Config(GPIO_TypeDef GPIOx, uint16_t GPIO_Pin, GPIO_FunTypeDef function)
 {
@@ -14,6 +15,13 @@
 	_ASSERT(IS_GET_GPIO_PIN(GPIO_Pin));
 	
 	int i;
+
+	if(GPIOx==GPIOC && GPIO_Pin==GPIO_Pin_0)
+	{
+		uint32_t value = lpm_bt_read(LPMBT_CONTROL1);
+		value &= ~(1<<17);
+		lpm_bt_write(LPMBT_CONTROL1, value);
+	}
 	
 	for (i = 0; i < GPIO_PIN_NUM; i++)
 	{
@@ -29,6 +37,13 @@
 	_ASSERT(IS_GPIO_MODE(GPIO_InitStruct->GPIO_Mode));
 	
 	int i;
+
+	if(GPIOx==GPIOC && GPIO_InitStruct->GPIO_Pin==GPIO_Pin_0)
+	{
+		uint32_t value = lpm_bt_read(LPMBT_CONTROL1);
+		value &= ~(1<<17);
+		lpm_bt_write(LPMBT_CONTROL1, value);
+	}
 	
 	switch (GPIO_InitStruct->GPIO_Mode)
 	{
