Huyi 1 سال پیش
والد
کامیت
0150cad5f0
1فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 3 4
      Hardware/GPIOA.c

+ 3 - 4
Hardware/GPIOA.c

@@ -28,12 +28,11 @@ void GPIOA_Init(void)
 	RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE);
 	GPIO_InitTypeDef GPIO_InitStructure;
 	GPIO_InitStructure.GPIO_Mode = 	GPIO_Mode_Out_PP;
-	GPIO_InitStructure.GPIO_Pin = 	DEEP_SLEEP_GPIO_Pin|LIGHT_SLEEP_GPIO_Pin;
+	GPIO_InitStructure.GPIO_Pin = 	WAKE_GPIO_Pin;
 	GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
 	GPIO_Init(WAKE_GPIO, &GPIO_InitStructure);
-	
-	GPIO_ResetBits(WAKE_GPIO, DEEP_SLEEP_GPIO_Pin); // WiFi�金추多신윗됴
-	GPIO_SetBits(WAKE_GPIO, LIGHT_SLEEP_GPIO_Pin);	// WiFi풍金추多신윗멕
+	GPIO_ResetBits(WAKE_GPIO, WAKE_GPIO_Pin); // WiFi�金추多신윗됴
+
 	#endif
 }