Skip to content

Commit 54ddf8c

Browse files
committed
fixup: rt_current_thread as global
1 parent 2647534 commit 54ddf8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scheduler_up.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ rt_uint8_t rt_thread_ready_table[32];
4848

4949
extern volatile rt_uint8_t rt_interrupt_nest;
5050
static rt_int16_t rt_scheduler_lock_nest;
51-
static struct rt_thread *rt_current_thread = RT_NULL;
51+
struct rt_thread *rt_current_thread = RT_NULL;
5252
rt_uint8_t rt_current_priority;
5353

5454
#if defined(RT_USING_HOOK) && defined(RT_HOOK_USING_FUNC_PTR)

0 commit comments

Comments
 (0)