v3.1 关闭电压低时的电流补偿功能
authorkyz <kongyuzhong@google.com>
Wed, 7 Jan 2026 05:34:43 +0000 (13:34 +0800)
committerkyz <kongyuzhong@google.com>
Wed, 7 Jan 2026 05:34:43 +0000 (13:34 +0800)
20240801完整版/扳手下位机软件/cpbs-202103-20240423/API/lcdshow.c
20240801完整版/扳手下位机软件/cpbs-202103-20240423/APP/eventmonitoring.c

index 84cafa3513a5bf1d53e17278254c15d66506e92d..cf30f5c3eb025eb51aaaf96ae18856bc331cd63f 100644 (file)
@@ -3,7 +3,7 @@
 #include "lcdfont.h"
 #include "delay.h"
 
-char Version[] = "V3.0";    //ÆÁÄ»ÏÔʾÈí¼þ°æ±¾
+char Version[] = "V3.1";    //ÆÁÄ»ÏÔʾÈí¼þ°æ±¾
 //1.54´çTFTÆÁ240*240
 /******************************************************************************
       º¯Êý˵Ã÷£ºÔÚÖ¸¶¨ÇøÓòÌî³äÑÕÉ«
index e3d008940f9fd8e726dc68250560606244cd2d9a..fbbb4fc3c095ddbefbfaff4414e0728bbe8ed113 100644 (file)
@@ -143,6 +143,7 @@ u16 Get_Compensated_Current(u16 target_current)
     u16 current_battery_voltage = battery_voltage_avg_1;
     u16 compensated_current = target_current;
 
+#if 0
     // Èç¹ûµç³ØµçѹµÍÓÚãÐÖµ£¬½øÐеçÁ÷²¹³¥
     if (current_battery_voltage < BATTERY_VOLTAGE_80_PERCENT && current_battery_voltage > 0)
     {
@@ -155,6 +156,7 @@ u16 Get_Compensated_Current(u16 target_current)
             compensated_current = ELECTRICITY_PP;
         }
     }
+#endif
 
     return compensated_current;
 }