V2.4
authorkyz <kongyuzhong@google.com>
Wed, 10 Apr 2024 11:30:26 +0000 (19:30 +0800)
committerkyz <kongyuzhong@google.com>
Wed, 10 Apr 2024 11:31:19 +0000 (19:31 +0800)
10A内电流上报平台值修改为0

user/ht1622.c
user/user.h
user/user_report.c

index 9f5bd783210106630d2c3f57628e2daaf2c212a0..3931ae3c2f175be57cf5d024916ad5c7d3f15cda 100644 (file)
@@ -277,14 +277,16 @@ typedef struct{
 }disp_data_t;
 
 /*
-//LCD 显示逻辑
+//LCD 显示和按键操作逻辑
 1.上电后开机自检
    开机LCD全亮1秒
        LCD全灭1秒。
-2. 开机进入工作模式,各个字段根据设备状态显示, 工作模式灯亮, 设置模式灯灭
+
+2. 自检完成自动进入工作模式,各个字段根据设备状态显示, 工作模式灯亮, 设置模式灯灭
+
 3. 进入设置模式
-    长按menu 1秒 进入设置模式待解锁, “设置”常亮。
-    按 上上下下上下上下解锁,  解锁成功  “设置”灯1Hz闪烁。 解锁输入错误,推出设置
+    工作模式下,长按menu 1秒 进入设置模式待解锁, “设置”常亮。
+    按 上上下下上下上下解锁,  解锁成功  “设置”灯1Hz闪烁。 解锁输入错误,退出设置
 
 4. 退出设置模式
     长按menu 1秒 退出设置模式, “设置”灯灭,工作灯常亮。
@@ -292,12 +294,9 @@ typedef struct{
     检测到有效焊接电流,自动退出设置模式
 
 5. 设置模式下参数设置
-    工艺  节气因子  前气调节 气路选择 四项短按按menu循环选择, 选中项 1hz闪烁
+    工艺 节气因子  前气调节 三个参数项,通过短按menu 循环选择, 选中项 1hz闪烁
     选中 焊接工艺后, 短按+/-键 在 TIG MIG MAG 中切换,选中的工艺1Hz闪烁,未选中的关闭。
-    选中 节气因子,   数字闪烁, 短按+/-调节, 长按+/-快速调节。
-    选中 前后气开度, 数字闪烁, 短按+/-加减调节, 长按+/-快速调节。
-
-
-
+    选中 节气因子,   数字1Hz闪烁, 短按+/-调节,     长按+/-快速调节。
+    选中 前后气开度, 数字1Hz闪烁, 短按+/-加减调节, 长按+/-快速调节。
 */
 #endif
index 6236fd5298f1cf58133666ac4a666e6a9c4948d5..940af71d9654c8d13684e8b667c60de11ed834db 100644 (file)
@@ -26,7 +26,7 @@
 //--------------------
 
 #define APP_VER_MAJOR 2
-#define APP_VER_MINOR 3
+#define APP_VER_MINOR 4
 
 #define VREF  2.5f
 
index c9e21d2e79a95f1efab5d7672f6c593f7e28538c..e3d54f6c7fc5102ebfbbe4e59ecedfa6d5ab1f86 100644 (file)
@@ -41,6 +41,10 @@ char * devinfo_report_str( void )
     c = g_dev.welding_current;
     g = g_dev.flowmeter.flow_speed;
     s = g_dev.welding_start;
+
+               //+10A 到 -10A 上报0,与屏上显示一致
+               if( c<10.0f && c>-10.0f )
+                       c = 0.0f;
     sprintf( (char*)tx_buf, fmt, cid++, APP_VER_MAJOR, APP_VER_MINOR, g_dev.remote_locked, g_mac_str, c, s, g );
 
     return tx_buf;