From c622d36fd33a883fd3243141b7d30654b8d9ffb1 Mon Sep 17 00:00:00 2001 From: kyz Date: Mon, 9 Feb 2026 09:50:28 +0800 Subject: [PATCH] =?utf8?q?v3.3=20=E5=B7=A5=E4=BD=9C=E8=AE=B0=E5=BD=95?= =?utf8?q?=E4=BF=9D=E5=AD=98=E6=97=B6=EF=BC=8C=E5=AE=9E=E9=99=85=E6=89=AD?= =?utf8?q?=E7=9F=A9=E5=80=BC=E8=AE=B0=E5=BD=95=E8=8C=83=E5=9B=B4=E4=B8=BA?= =?utf8?q?=E7=9B=AE=E6=A0=87=E6=89=AD=E7=9F=A9=E7=9A=84=E4=B8=BA=E6=AD=A3?= =?utf8?q?=E8=B4=9F%5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../cpbs-202103-20240423/API/lcdshow.c" | 2 +- .../cpbs-202103-20240423/APP/datastore.c" | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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 f29a27a..bb13506 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.2"; //ÆÁÄ»ÏÔʾÈí¼þ°æ±¾ +char Version[] = "V3.3"; //ÆÁÄ»ÏÔʾÈí¼þ°æ±¾ //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/datastore.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/datastore.c" index f584e08..32195b3 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/datastore.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/datastore.c" @@ -216,6 +216,18 @@ void Data_Record_Storage(u32 Count) } break; } + +#if 1 + //¿Í»§ÐèÇ󣬼ǼÊý¾ÝÖб£´æµÄʵ¼ÊŤ¾ØÖµ°´Ä¿±êÖµÕý¸º%5%·¶Î§±£´æ¡£ + if( SetData.mode == 1 || SetData.mode == 2 || SetData.mode == 4 || SetData.mode == 7){ + if( RecordData.ActualValue < (RecordData.TargetValue * 0.95) ){ + RecordData.ActualValue = RecordData.TargetValue * 0.95; + }else if( RecordData.ActualValue > (RecordData.TargetValue * 1.05) ){ + RecordData.ActualValue = RecordData.TargetValue * 1.05; + } + } +#endif + TwistingForce = 0;//Çå¿Õ } -- 2.34.1