解决编译错误
This commit is contained in:
parent
06730be6d2
commit
cefdc341e5
|
@ -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