From 43752e774a407ec572efaf6eeeafbb05d15fd677 Mon Sep 17 00:00:00 2001 From: kyz Date: Thu, 20 Jun 2024 17:04:01 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E4=BA=92=E6=84=9F=E5=99=A8?= =?utf8?q?=E6=95=85=E9=9A=9C=E5=88=A4=E6=96=AD=E9=98=88=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- MDK-ARM/bootloader.uvprojx | 130 ------------------------------------- user/ht1622.c | 2 +- user/user_adc.c | 8 ++- 3 files changed, 7 insertions(+), 133 deletions(-) diff --git a/MDK-ARM/bootloader.uvprojx b/MDK-ARM/bootloader.uvprojx index bb19bb2..f39587d 100644 --- a/MDK-ARM/bootloader.uvprojx +++ b/MDK-ARM/bootloader.uvprojx @@ -828,136 +828,6 @@ - - Drivers/BSP/Components - - - 0 - 0 - 0 - 0 - 0 - 2 - 2 - 2 - 2 - 2 - 11 - - - 1 - - - - 2 - 0 - 2 - 2 - 2 - 2 - 2 - 2 - 2 - 2 - 4 - 2 - 2 - 2 - 2 - 2 - 0 - 0 - 2 - 2 - 2 - 2 - 2 - - - - - - - - - 2 - 2 - 2 - 2 - 2 - 2 - 2 - 2 - 2 - 1 - - - - - - - - - - - - lan8742.c - 1 - ../Drivers/BSP/Components/lan8742/lan8742.c - - - 2 - 0 - 0 - 0 - 0 - 1 - 2 - 2 - 2 - 2 - 11 - - - 1 - - - - 2 - 0 - 2 - 2 - 2 - 2 - 2 - 2 - 2 - 2 - 0 - 2 - 2 - 2 - 2 - 2 - 0 - 0 - 2 - 2 - 2 - 2 - 2 - - - - - - - - - - - - user diff --git a/user/ht1622.c b/user/ht1622.c index f6cd9ea..9f7d61f 100644 --- a/user/ht1622.c +++ b/user/ht1622.c @@ -755,7 +755,7 @@ void lcd_disp_all( void ) if( g_disp.fault_code & (1< 500 ){ - //传感器输出范围 2.5-0.65 到2.5+0.65 + if( g_dev.welding_current < -400 || g_dev.welding_current > 500 ){ //HW_V4的互感器不接读数为-470A,HW_V2的互感器不接读数-590A + //HW_V2传感器输出范围 2.5-0.65 到2.5+0.65 + //HW_V4传感器输出范围 2.5-2.00 到2.5+2.00 if( curr_err > 10 ){ //0.5秒*10=5秒后报告传感器故障 g_dev.state |= CURR_SENSOR_ERR; -- 2.34.1