projects
/
yn
/
boxinlaohua_board.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df83f90
)
修复继电器提前关闭问题
author
kyz
<kongyuzhong@google.com>
Mon, 21 Sep 2026 06:11:17 +0000
(14:11 +0800)
committer
kyz
<kongyuzhong@google.com>
Mon, 21 Sep 2026 06:11:17 +0000
(14:11 +0800)
Aging_app/freertos/src/task_lists.c
patch
|
blob
|
history
diff --git
a/Aging_app/freertos/src/task_lists.c
b/Aging_app/freertos/src/task_lists.c
index 9aa40ccf3fbfa2d98b9e7f9a2f4bfece4658de5a..60e35c8ee0421f292034b740454659946c852da8 100644
(file)
--- a/
Aging_app/freertos/src/task_lists.c
+++ b/
Aging_app/freertos/src/task_lists.c
@@
-233,6
+233,14
@@
static void queueCommandTask(void *parames)
void parameter_task_exit(void);
parameter_task_exit();
}
+
+ {
+ //Èç¹ûƽ̨ÏÈ·¢ËÍstopÖ¸ÁÔÙ·¢ËÍopen£¬»áµ¼Ö¼̵çÆ÷´ò¿ª2Ãëºó¾Í»áÂíÉϹرÕ
+ //ÕâÀïÇå³ýstopÐźţ¬À´±ÜÃâÕâ¸öÎÊÌâ³öÏÖ£¬ 2026/9/21 kyz
+ xSemaphoreTake(xStopSemaphore1, 0);
+ xSemaphoreTake(xStopSemaphore2, 0);
+ }
+
RTT_DEBUG_INFO("Parameter task exit requested");
Control_ElectricRelay(1);
vTaskResume(Gather_Handler1);