summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRbb666 <[email protected]>2025-11-18 17:11:22 +0800
committerR b b666 <[email protected]>2025-11-18 17:22:43 +0800
commite484f56b6c3e0a4686635682becfb8de41d7a801 (patch)
tree38716798838a77af15c57591c4ebf039355aee7f
parent6073c22164c491f2b1b5e1e03e6a499e390a712f (diff)
[utest]Fixed assertion failure in the smp_affinity_pri1_tc use case caused by improper priority configuration.
-rw-r--r--src/utest/smp/smp_affinity_pri1_tc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utest/smp/smp_affinity_pri1_tc.c b/src/utest/smp/smp_affinity_pri1_tc.c
index c8d8a70b45..c1a2164b8a 100644
--- a/src/utest/smp/smp_affinity_pri1_tc.c
+++ b/src/utest/smp/smp_affinity_pri1_tc.c
@@ -24,7 +24,7 @@
static int run_num = 10;
#define THREAD_STACK_SIZE UTEST_THR_STACK_SIZE
#define THREAD_PRIORITY 2
-#define LOW_PRIORITY 50
+#define LOW_PRIORITY 30
#define THIGH_PRIORITY 10
static rt_thread_t threads[RT_CPUS_NR];
static rt_thread_t temp_thread;