diff options
| author | Bernard Xiong <[email protected]> | 2019-09-28 12:26:48 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2019-09-28 12:26:48 +0800 |
| commit | 71311b73ae3e6a91ca1e9b2b82ca11af2c5cb868 (patch) | |
| tree | fe81b2944a79900412475e2902d9728fcdbcb014 /src/scheduler.c | |
| parent | 5cd65092967a1dbaa35bb7fdd80cf3a0e2f9cc9f (diff) | |
[Kernel] Fix the wrong indentation
Diffstat (limited to 'src/scheduler.c')
| -rw-r--r-- | src/scheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scheduler.c b/src/scheduler.c index 0faafaa2fc..f671a49623 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -83,7 +83,7 @@ static void _rt_scheduler_stack_check(struct rt_thread *thread) RT_ASSERT(thread != RT_NULL); #if defined(ARCH_CPU_STACK_GROWS_UPWARD) - if (*((rt_uint8_t *)((rt_ubase_t)thread->stack_addr + thread->stack_size - 1)) != '#' || + if (*((rt_uint8_t *)((rt_ubase_t)thread->stack_addr + thread->stack_size - 1)) != '#' || #else if (*((rt_uint8_t *)thread->stack_addr) != '#' || #endif @@ -958,7 +958,7 @@ rt_uint16_t rt_critical_level(void) return current_thread->critical_lock_nest; #else - return rt_scheduler_lock_nest; + return rt_scheduler_lock_nest; #endif /*RT_USING_SMP*/ } RTM_EXPORT(rt_critical_level); |
