Quellcode durchsuchen

[utest]Fixed assertion failure in the smp_affinity_pri2_tc use case caused by improper priority configuration. (#10956)

R b b666 vor 1 Monat
Ursprung
Commit
59e55f543c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/utest/smp/smp_affinity_pri2_tc.c

+ 1 - 1
src/utest/smp/smp_affinity_pri2_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;