Просмотр исходного кода

[utest]Fixed assertion failure in the smp_affinity_pri1_tc use case caused by improper priority configuration.

Rbb666 1 месяц назад
Родитель
Сommit
e484f56b6c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/utest/smp/smp_affinity_pri1_tc.c

+ 1 - 1
src/utest/smp/smp_affinity_pri1_tc.c

@@ -24,7 +24,7 @@
 static int run_num = 10;
 static int run_num = 10;
 #define THREAD_STACK_SIZE UTEST_THR_STACK_SIZE
 #define THREAD_STACK_SIZE UTEST_THR_STACK_SIZE
 #define THREAD_PRIORITY   2
 #define THREAD_PRIORITY   2
-#define LOW_PRIORITY  50
+#define LOW_PRIORITY  30
 #define THIGH_PRIORITY  10
 #define THIGH_PRIORITY  10
 static rt_thread_t        threads[RT_CPUS_NR];
 static rt_thread_t        threads[RT_CPUS_NR];
 static rt_thread_t        temp_thread;
 static rt_thread_t        temp_thread;