diff options
| author | yangjie <[email protected]> | 2019-04-15 17:56:19 +0800 |
|---|---|---|
| committer | yangjie <[email protected]> | 2019-04-15 17:56:19 +0800 |
| commit | ce51a27f87fb7c520bcb949676ab05d2d2bff0bd (patch) | |
| tree | 378e9131a5478639e313dc0695e4346d04cafd0a /src | |
| parent | 41aabf37362db91fdb28833eb2b9aef599845119 (diff) | |
[src/components.c]remove the repetitive rt_hw_interrupt_disable() function before rtthread_startup()
Diffstat (limited to 'src')
| -rw-r--r-- | src/components.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components.c b/src/components.c index d77ef8300f..3b9f131eaf 100644 --- a/src/components.c +++ b/src/components.c @@ -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; } |
