From: luozheng <1732036298@qq.com> Date: Fri, 20 Mar 2026 11:43:55 +0000 (+0800) Subject: 表冠线程优化 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=f514c6ef5675be3347d3fca0e953ca218fa38cb0;p=mirrors%2FFD230.git 表冠线程优化 --- diff --git a/code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c b/code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c index 1c649ed87..211452b83 100644 --- a/code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c +++ b/code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c @@ -76,8 +76,8 @@ static osTimerId_t g_hx3508_timer = NULL; /* 表冠自己的消息队列与线程,用于处理 ROTARY_OPEN */ #define ROTARY_MSG_OPEN 1 -#define ROTARY_QUEUE_MSG_COUNT 10 -#define ROTARY_TASK_STACK_SIZE 0x400 +#define ROTARY_QUEUE_MSG_COUNT 32 +#define ROTARY_TASK_STACK_SIZE 0x500 #define ROTARY_BOARD_TASK_PRIO 7 typedef struct { uint8_t cmd;