解决编译错误
This commit is contained in:
parent
08888b6e23
commit
b14a14057c
|
@ -175,7 +175,9 @@ void rt_thread_idle_init(void)
|
||||||
char idle_thread_name[RT_NAME_MAX];
|
char idle_thread_name[RT_NAME_MAX];
|
||||||
#endif /* RT_NAME_MAX > 0 */
|
#endif /* RT_NAME_MAX > 0 */
|
||||||
|
|
||||||
|
#ifdef RT_USING_IDLE_HOOK
|
||||||
rt_spin_lock_init(&_hook_spinlock);
|
rt_spin_lock_init(&_hook_spinlock);
|
||||||
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < _CPUS_NR; i++)
|
for (i = 0; i < _CPUS_NR; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue