From d916c480b86c8fab9056000555cbc823233eb580 Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Tue, 8 Sep 2026 14:02:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E6=9C=BA=E6=A0=88=E7=A9=BA=E9=97=B4?= =?UTF-8?q?=E8=B0=83=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RBcore/drv_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RBcore/drv_interface.c b/RBcore/drv_interface.c index e2b414d..7262078 100644 --- a/RBcore/drv_interface.c +++ b/RBcore/drv_interface.c @@ -267,7 +267,7 @@ void Drv_InterfaceInit(void) const osThreadAttr_t Custom_attributes = { .name = MODULE_NAME_CUSTOM, - .stack_size = 2 * 1024, + .stack_size = 2048, .priority = (osPriority_t) osPriorityRealtime1, }; (void)osThreadNew(Custom_Task, NULL, &Custom_attributes); @@ -275,7 +275,7 @@ void Drv_InterfaceInit(void) // 创建电机任务 const osThreadAttr_t motor_task_attributes = { .name = MODULE_NAME_MOTOR, - .stack_size = 1024, + .stack_size = 2048, .priority = (osPriority_t) osPriorityRealtime1, }; (void)osThreadNew(MotorTask, NULL, &motor_task_attributes);