表冠线程优化 3300/1 3300/head
authorluozheng <1732036298@qq.com>
Fri, 20 Mar 2026 11:43:55 +0000 (19:43 +0800)
committerluozheng <1732036298@qq.com>
Fri, 20 Mar 2026 11:43:55 +0000 (19:43 +0800)
code/sdk/zhihui/drivers/rotary_encoder/hx3508/hx3508.c

index 1c649ed..211452b 100644 (file)
@@ -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;