From: Caisking Date: Wed, 21 Jan 2026 06:45:09 +0000 (+0800) Subject: 回退3508定时器频率 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=55b9d88e36ab2bb9e1a010d4f712635e765bcd63;p=mirrors%2FFD230.git 回退3508定时器频率 --- diff --git a/code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c b/code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c index 958e9f59f..e8b5f6a6c 100644 --- a/code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c +++ b/code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c @@ -176,7 +176,7 @@ void ots_timer_start(void) if(ots_timer_running == false && g_hx3508_timer) { // app_timer_start(g_hx3508_timer, APP_TIMER_TICKS(50), NULL);//定义为50ms定时器间隔 - int ret = osTimerStart(g_hx3508_timer,50); + int ret = osTimerStart(g_hx3508_timer,20); // printf("ret:%d\n",ret); ots_timer_running = true; }