diff options
| author | Bernard Xiong <[email protected]> | 2020-12-30 08:09:49 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-30 08:09:49 +0800 |
| commit | b2a6dbadf43c023128dc6b310afd562f0de0ff10 (patch) | |
| tree | f66fe4658eefe52438689e85049c8f4e1c5eefbb /src | |
| parent | ce034e6762cf56f0cd29c2e438c8306719e7367a (diff) | |
| parent | f91089b57809543afe0b40257002efbe41f8c089 (diff) | |
Merge pull request #4135 from balanceTWK/master_hal_delay
[BSP][STM32] update void HAL_Delay(__IO uint32_t Delay)
Diffstat (limited to 'src')
| -rw-r--r-- | src/scheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scheduler.c b/src/scheduler.c index 677be6cff7..06f305ea0b 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -43,7 +43,7 @@ rt_uint8_t rt_thread_ready_table[32]; #ifndef RT_USING_SMP extern volatile rt_uint8_t rt_interrupt_nest; static rt_int16_t rt_scheduler_lock_nest; -struct rt_thread *rt_current_thread; +struct rt_thread *rt_current_thread = RT_NULL; rt_uint8_t rt_current_priority; #endif /*RT_USING_SMP*/ |
