加了个滤波1

This commit is contained in:
ws 2025-05-12 19:42:14 +08:00
parent 602a6a2728
commit 95ea791d34
3 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ void FunctionBall(void *argument)
(void)argument; /* 未使用argument消除警告 */
const uint32_t delay_tick = osKernelGetTickFreq() / TASK_FREQ_BALL;
ball.Filter_init(TASK_FREQ_BALL);
uint32_t tick = osKernelGetTickCount();
while(1)