Skip to content

Commit e524405

Browse files
committed
【优化】mpy 线程有限级。
Signed-off-by: armink <[email protected]>
1 parent 021f810 commit e524405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

port/mpthreadport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
#define MP_THREAD_MIN_STACK_SIZE (4 * 1024)
4040
#define MP_THREAD_DEFAULT_STACK_SIZE (MP_THREAD_MIN_STACK_SIZE + 1024)
41-
#define MP_THREAD_PRIORITY (RT_THREAD_PRIORITY_MAX - 1)
41+
#define MP_THREAD_PRIORITY (FINSH_THREAD_PRIORITY - 1)
4242

4343
#define MP_THREAD_STATUS_READY 0
4444
#define MP_THREAD_STATUS_RUNNING 1

0 commit comments

Comments
 (0)