From a52903ea3993302a0765f427bb089324879931fa Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Tue, 8 Sep 2026 08:52:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=BA=E5=99=A8=E4=BA=BA=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E4=BC=98=E5=85=88=E7=BA=A7=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E6=94=B9=E4=B8=BA49?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RBcore/client_setting.c | 2 +- RBcore/drv_interface.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RBcore/client_setting.c b/RBcore/client_setting.c index 82c3f4f..60110ad 100644 --- a/RBcore/client_setting.c +++ b/RBcore/client_setting.c @@ -149,7 +149,7 @@ void SendIV_Init(void) const osThreadAttr_t Send_PV_attributes = { .name = MODULE_NAME_SENDIV, .stack_size = 1024, - .priority = (osPriority_t) osPriorityHigh4, + .priority = (osPriority_t) osPriorityRealtime1, }; (void)osThreadNew(Send_IV, NULL, &Send_PV_attributes); } diff --git a/RBcore/drv_interface.c b/RBcore/drv_interface.c index 03fdbf1..1c64b89 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, - .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); }