From d94f43caee4e5892b7743de683cfb4127585d8b3 Mon Sep 17 00:00:00 2001 From: herexiong <80973703+herexiong@users.noreply.github.com> Date: Mon, 7 Oct 2024 00:16:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D128*64=E5=B1=8F=E5=B9=95?= =?UTF-8?q?=E9=99=90=E5=88=B6=E5=AF=BC=E8=87=B4=E5=8A=A8=E7=94=BB=E5=88=86?= =?UTF-8?q?=E6=AE=B5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WouoUI-128_64/WouoUI-128_64.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WouoUI-128_64/WouoUI-128_64.ino b/WouoUI-128_64/WouoUI-128_64.ino index 29fa0c4..02c4d01 100644 --- a/WouoUI-128_64/WouoUI-128_64.ino +++ b/WouoUI-128_64/WouoUI-128_64.ino @@ -889,7 +889,7 @@ void animation(float *a, float *a_trg, uint8_t n) { if (*a != *a_trg) { - if (fabs(*a - *a_trg) < 0.15f) *a = *a_trg; + if (fabs(*a - *a_trg) < 1.0f) *a = *a_trg; else *a += (*a_trg - *a) / (ui.param[n] / 10.0f); } }