From d352b1982dc9b4fb2135c64cd909bb9cecc62139 Mon Sep 17 00:00:00 2001
From: jinlicong <493886250@qq.com>
Date: Fri, 14 Jun 2024 15:58:03 +0800
Subject: [PATCH] 添加.gitignore
---
Function/OTHER_FUN/other_fun.c | 28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/Function/OTHER_FUN/other_fun.c b/Function/OTHER_FUN/other_fun.c
index a2d80be..ec2e7fe 100644
--- a/Function/OTHER_FUN/other_fun.c
+++ b/Function/OTHER_FUN/other_fun.c
@@ -1,8 +1,8 @@
#include "other_fun.h"
#include "gpio.h"
#include "linked_list.h"
-
-
+#include "main.h"
+#include "sizhu_alarm_record.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,21 @@
//ϵͳ������ɢС���ܴ���
void OtherFunPro(void)
{
+ #ifdef LED_TEST
+ led_init();
+ LED_TOG;
+
+// if((sys_clockBCD_g.sec &0x04) == 0){ //4����˸
+// led_init();
+// LED_ON;
+// }else{
+// led_init();
+// LED_OFF;
+// }
+ #else
+ led_Close();
+ #endif
+
UncapCheck(); //���Ǽ��
--
Gitblit v1.9.3