From: kyz Date: Wed, 7 Jan 2026 05:34:43 +0000 (+0800) Subject: v3.1 关闭电压低时的电流补偿功能 X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=034e464f44aba79d7be3cc35a9f418f453a3f266;p=yn%2Fcdbs.git v3.1 关闭电压低时的电流补偿功能 --- diff --git "a/20240801\345\256\214\346\225\264\347\211\210/\346\211\263\346\211\213\344\270\213\344\275\215\346\234\272\350\275\257\344\273\266/cpbs-202103-20240423/API/lcdshow.c" "b/20240801\345\256\214\346\225\264\347\211\210/\346\211\263\346\211\213\344\270\213\344\275\215\346\234\272\350\275\257\344\273\266/cpbs-202103-20240423/API/lcdshow.c" index 84cafa3..cf30f5c 100644 --- "a/20240801\345\256\214\346\225\264\347\211\210/\346\211\263\346\211\213\344\270\213\344\275\215\346\234\272\350\275\257\344\273\266/cpbs-202103-20240423/API/lcdshow.c" +++ "b/20240801\345\256\214\346\225\264\347\211\210/\346\211\263\346\211\213\344\270\213\344\275\215\346\234\272\350\275\257\344\273\266/cpbs-202103-20240423/API/lcdshow.c" @@ -3,7 +3,7 @@ #include "lcdfont.h" #include "delay.h" -char Version[] = "V3.0"; //ÆÁÄ»ÏÔʾÈí¼þ°æ±¾ +char Version[] = "V3.1"; //ÆÁÄ»ÏÔʾÈí¼þ°æ±¾ //1.54´çTFTÆÁ240*240 /****************************************************************************** º¯Êý˵Ã÷£ºÔÚÖ¸¶¨ÇøÓòÌî³äÑÕÉ« diff --git "a/20240801\345\256\214\346\225\264\347\211\210/\346\211\263\346\211\213\344\270\213\344\275\215\346\234\272\350\275\257\344\273\266/cpbs-202103-20240423/APP/eventmonitoring.c" "b/20240801\345\256\214\346\225\264\347\211\210/\346\211\263\346\211\213\344\270\213\344\275\215\346\234\272\350\275\257\344\273\266/cpbs-202103-20240423/APP/eventmonitoring.c" index e3d0089..fbbb4fc 100644 --- "a/20240801\345\256\214\346\225\264\347\211\210/\346\211\263\346\211\213\344\270\213\344\275\215\346\234\272\350\275\257\344\273\266/cpbs-202103-20240423/APP/eventmonitoring.c" +++ "b/20240801\345\256\214\346\225\264\347\211\210/\346\211\263\346\211\213\344\270\213\344\275\215\346\234\272\350\275\257\344\273\266/cpbs-202103-20240423/APP/eventmonitoring.c" @@ -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; }