From a1810b89e66f184c62a0588ae7d57c91d0c376e8 Mon Sep 17 00:00:00 2001
From: jinlicong <493886250@qq.com>
Date: Thu, 30 May 2024 20:06:09 +0800
Subject: [PATCH] 继续测试修改

---
 Function/OTHER_FUN/other_fun.c |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/Function/OTHER_FUN/other_fun.c b/Function/OTHER_FUN/other_fun.c
index a2d80be..62f6f36 100644
--- a/Function/OTHER_FUN/other_fun.c
+++ b/Function/OTHER_FUN/other_fun.c
@@ -1,7 +1,7 @@
 #include "other_fun.h"
 #include "gpio.h"
 #include "linked_list.h"
-
+#include "main.h"
 
 
 
@@ -13,10 +13,11 @@
 	CMU_PERCLK_SetableEx(PADCLK, ENABLE);  //PADʱ�ӣ�GPIO��ʹ�ܺ���
 	
 	OutputIO(GPIOD,GPIO_Pin_8,OUT_PUSHPULL);
-	LED_OFF;
-	
-//	OutputIO(GPIOC,GPIO_Pin_14,OUT_PUSHPULL);
-//	LCD3_OFF ;
+}
+
+void led_Close(void)
+{
+	CloseIO(GPIOD,GPIO_Pin_8);
 }
 
 
@@ -87,6 +88,13 @@
 //ϵͳ������ɢС���ܴ���
 void OtherFunPro(void)
 {
+	#ifdef	LED_TEST
+	led_init();
+	LED_TOG; 
+	#else
+	led_Close();
+	#endif
+	
 	
 	UncapCheck();  //���Ǽ��
 	

--
Gitblit v1.9.3