This commit is contained in:
音游玩的人 2023-07-15 16:28:59 +08:00 committed by GitHub
parent dd50bb7502
commit 6ca66c5043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,9 @@
* 128 * 32 128 * 64
*
WouoUI - wave v1.2
WouoUI - wave v1.3
* EC11旋钮使界面卡死的问题 GitHub 线
*
WouoUI v2
@ -277,7 +277,7 @@ M_SELECT setting_menu[]
M_SELECT about_menu[]
{
{"[ WouoUI - wave ]"},
{"- Version: v1.2"},
{"- Version: v1.3"},
{"- Board: STM32F103"},
{"- Ram: 20k"},
{"- Flash: 64k"},
@ -754,8 +754,11 @@ void layer_init_out()
//动画函数
void animation(float *a, float *a_trg, uint8_t n)
{
if (*a != *a_trg)
{
if (fabs(*a - *a_trg) < 0.15) *a = *a_trg;
if (*a != *a_trg) *a += (*a_trg - *a) / (ui.param[n] / 10.0);
else *a += (*a_trg - *a) / (ui.param[n] / 10.0);
}
}
//消失函数