diff options
| author | bernard.xiong <[email protected]> | 2011-07-15 05:45:43 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2011-07-15 05:45:43 +0000 |
| commit | a30661ebc5ca0735f8a4c5c4172064bc9dbfa045 (patch) | |
| tree | a87dc31f905c50153afc5e2596e1adc0b04016d1 /bsp | |
| parent | 1b9e80dc709129927a748af56e2a58b63cad0684 (diff) | |
remove the unnecessary variable.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1630 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/lpc2478/startup.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bsp/lpc2478/startup.c b/bsp/lpc2478/startup.c index cde4d4552a..642d90f66a 100644 --- a/bsp/lpc2478/startup.c +++ b/bsp/lpc2478/startup.c @@ -94,15 +94,13 @@ void rtthread_startup(void) /* never reach here */ return ; -} - +}
+
#ifdef __CC_ARM int main(void) -{ - rt_uint32_t UNUSED level;
-
+{
/* disable interrupt first */
- level = rt_hw_interrupt_disable();
+ rt_hw_interrupt_disable();
/* invoke rtthread_startup */ rtthread_startup(); |
