|
|
|
@ -267,7 +267,7 @@ void Drv_InterfaceInit(void) |
|
|
|
const osThreadAttr_t Custom_attributes = { |
|
|
|
.name = MODULE_NAME_CUSTOM, |
|
|
|
.stack_size = 2 * 1024, |
|
|
|
.priority = (osPriority_t) osPriorityRealtime, |
|
|
|
.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, |
|
|
|
.priority = (osPriority_t) osPriorityRealtime, |
|
|
|
.priority = (osPriority_t) osPriorityRealtime1, |
|
|
|
}; |
|
|
|
(void)osThreadNew(MotorTask, NULL, &motor_task_attributes); |
|
|
|
|
|
|
|
@ -288,7 +288,7 @@ void Drv_InterfaceInit(void) |
|
|
|
const osThreadAttr_t MK32_Task_attributes = { |
|
|
|
.name = "Read_MK32", |
|
|
|
.stack_size = 2048, |
|
|
|
.priority = (osPriority_t) osPriorityHigh6, |
|
|
|
.priority = (osPriority_t) osPriorityRealtime1, |
|
|
|
}; |
|
|
|
(void)osThreadNew(Read_MK32, NULL, &MK32_Task_attributes); |
|
|
|
|
|
|
|
@ -300,7 +300,7 @@ void Drv_InterfaceInit(void) |
|
|
|
const osThreadAttr_t Read_PV_attributes = { |
|
|
|
.name = "Read_PV", |
|
|
|
.stack_size = 2048, |
|
|
|
.priority = (osPriority_t) osPriorityHigh6, |
|
|
|
.priority = (osPriority_t) osPriorityRealtime1, |
|
|
|
}; |
|
|
|
(void)osThreadNew(Read_PV, NULL, &Read_PV_attributes); |
|
|
|
} |
|
|
|
|