Browse Source

电机栈空间调大

master
Lizongdi 1 day ago
parent
commit
d916c480b8
  1. 4
      RBcore/drv_interface.c

4
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);

Loading…
Cancel
Save