darts/User/task/user_task.c
2026-02-15 23:43:19 +08:00

31 lines
726 B
C

#include "task/user_task.h"
Task_Runtime_t task_runtime;
const osThreadAttr_t attr_init = {
.name = "Task_Init",
.priority = osPriorityRealtime,
.stack_size = 256 * 4,
};
/* User_task */
const osThreadAttr_t attr_shoot_ctrl = {
.name = "shoot_ctrl",
.priority = osPriorityNormal,
.stack_size = 1024 * 4,
};
const osThreadAttr_t attr_cmd = {
.name = "cmd",
.priority = osPriorityNormal,
.stack_size = 256 * 4,
};
const osThreadAttr_t attr_ForceSensor = {
.name = "ForceSensor",
.priority = osPriorityNormal,
.stack_size = 256 * 4,
};
const osThreadAttr_t attr_Oid_Encoder_ctrl = {
.name = "Oid_Encoder_ctrl",
.priority = osPriorityNormal,
.stack_size = 256 * 4,
};