提交 ce51a27f 编写于 作者: Nameless-Y's avatar Nameless-Y

[src/components.c]remove the repetitive rt_hw_interrupt_disable() function...

[src/components.c]remove the repetitive rt_hw_interrupt_disable() function before rtthread_startup()
上级 41aabf37
......@@ -138,7 +138,6 @@ extern int $Super$$main(void);
/* re-define main function */
int $Sub$$main(void)
{
rt_hw_interrupt_disable();
rtthread_startup();
return 0;
}
......@@ -150,7 +149,6 @@ int __low_level_init(void)
{
// call IAR table copy function.
__iar_data_init3();
rt_hw_interrupt_disable();
rtthread_startup();
return 0;
}
......@@ -159,7 +157,6 @@ extern int main(void);
/* Add -eentry to arm-none-eabi-gcc argument */
int entry(void)
{
rt_hw_interrupt_disable();
rtthread_startup();
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册