diff options
| author | tangweikang <[email protected]> | 2020-12-08 10:48:22 +0800 |
|---|---|---|
| committer | tangweikang <[email protected]> | 2020-12-08 14:36:38 +0800 |
| commit | f91089b57809543afe0b40257002efbe41f8c089 (patch) | |
| tree | eb0ea6dbb11e556df28a5ac7a8c2cbfa2a672eae /src | |
| parent | 3f122bd790231ad097cc2346fa574a660eb294da (diff) | |
[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*/ |
