From ab16ddec95bf2abfed4a7b19ef59444b1a75f126 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期三, 04 一月 2023 11:26:46 +0800 Subject: [PATCH] 1.自动时间片标签,修改升级触发逻辑,修改参数增加校验 --- Src/OnChipDevices/ADC.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Src/OnChipDevices/ADC.c b/Src/OnChipDevices/ADC.c index de06e6d..8f11431 100644 --- a/Src/OnChipDevices/ADC.c +++ b/Src/OnChipDevices/ADC.c @@ -29,6 +29,8 @@ last_value = 100; if(last_value<0) last_value = 0; +}else{ + last_value=0; } return last_value; } \ No newline at end of file -- Gitblit v1.9.3