projects
/
yn
/
yn-qdbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2656ea
)
修复拧紧完成时未正常关闭压力阀问题
author
kyz
<kongyuzhong@google.com>
Thu, 22 Jan 2026 09:24:47 +0000
(17:24 +0800)
committer
kyz
<kongyuzhong@google.com>
Thu, 22 Jan 2026 09:24:47 +0000
(17:24 +0800)
QiDong/System/WrenchManage.c
patch
|
blob
|
history
diff --git
a/QiDong/System/WrenchManage.c
b/QiDong/System/WrenchManage.c
index 63682823b0b98de1343f4754086cf4bd97dcf50a..bf0728e126147396a9f3a0b99b614a8fa81eb455 100644
(file)
--- a/
QiDong/System/WrenchManage.c
+++ b/
QiDong/System/WrenchManage.c
@@
-573,9
+573,12
@@
void WrenchManage_MainTask(void) //״̬
}else{
target_pressure = 0;
}
-
temppress = target_pressure;
- output_duty = getOutDutyData_from_pressure(target_pressure);
+ if( machine_step >= 3 && machine_step <=5){
+ output_duty = 0;
+ }else{
+ output_duty = getOutDutyData_from_pressure(target_pressure);
+ }
if( TIM_GetCapture2(TIM4) != output_duty){
TIM_SetCompare2(TIM4, output_duty);
}