From d8282afbefd2fa831a919df0c29a8bf3e0336de0 Mon Sep 17 00:00:00 2001 From: kyz Date: Mon, 9 Feb 2026 09:50:28 +0800 Subject: [PATCH] =?utf8?q?=E5=B7=A5=E4=BD=9C=E8=AE=B0=E5=BD=95=E4=BF=9D?= =?utf8?q?=E5=AD=98=E6=97=B6=EF=BC=8C=E5=AE=9E=E9=99=85=E6=89=AD=E7=9F=A9?= =?utf8?q?=E5=80=BC=E8=AE=B0=E5=BD=95=E8=8C=83=E5=9B=B4=E4=B8=BA=E7=9B=AE?= =?utf8?q?=E6=A0=87=E6=89=AD=E7=9F=A9=E7=9A=84=E4=B8=BA=E6=AD=A3=E8=B4=9F%?= =?utf8?q?5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../cpbs-202103-20240423/APP/datastore.c" | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 412446b..b47a15e 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" @@ -201,6 +201,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