#include "userTask.h"

task_t task_struct; /* 任务结构体实例化 */

/*下面是所有的任务属性*/
const osThreadAttr_t  attr_shoot = {
    .name = "shoot",
    .priority = osPriorityRealtime,
    .stack_size = 128 * 4,
};

const osThreadAttr_t  attr_gimbal = {
    .name = "gimbal",
    .priority = osPriorityRealtime,
    .stack_size = 128 * 4,
};

const osThreadAttr_t attr_can = {
    .name = "can",
    .priority = osPriorityRealtime,
    .stack_size = 256 * 4,
};


const osThreadAttr_t attr_ball = {
    .name = "ball",
    .priority = osPriorityRealtime,
    .stack_size = 128 * 8,
};
const osThreadAttr_t attr_nuc = {
    .name = "nuc",
    .priority = osPriorityRealtime,
    .stack_size = 128 * 4,
};


const osEventFlagsAttr_t attr_event = {
    .name = "event",
};
