This commit is contained in:
音游玩的人 2023-07-15 16:20:38 +08:00 committed by GitHub
parent ba6fe05bd3
commit 49a429f69f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,9 +9,9 @@
* 128 * 32 128 * 64
*
WouoUI v2.1
WouoUI v2.2
* EC11旋钮使界面卡死的问题 GitHub 线
*
WouoUI v2
@ -267,7 +267,7 @@ M_SELECT setting_menu[]
M_SELECT about_menu[]
{
{"[ WouoUI ]"},
{"- Version: v2.1"},
{"- Version: v2.2"},
{"- Board: STM32F103"},
{"- Ram: 20k"},
{"- Flash: 64k"},
@ -890,9 +890,12 @@ 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);
}
}
//消失函数