diff options
| author | Bernard Xiong <[email protected]> | 2015-08-09 11:34:41 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-08-09 11:34:41 +0800 |
| commit | 200282a0bc392a9c45fc9954daa48dee9a90d2ea (patch) | |
| tree | bda7712ac3fb22fad33d85fbf87c45f2a2b4f554 /bsp/lm3s8962 | |
| parent | e029f14b46a5556a2d771daf1e995b47b9e52d47 (diff) | |
[BSP] use RT_UNUSED instead of UNUSED
Diffstat (limited to 'bsp/lm3s8962')
| -rw-r--r-- | bsp/lm3s8962/applications/startup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bsp/lm3s8962/applications/startup.c b/bsp/lm3s8962/applications/startup.c index 7f34aeef95..1f206a51b7 100644 --- a/bsp/lm3s8962/applications/startup.c +++ b/bsp/lm3s8962/applications/startup.c @@ -142,10 +142,8 @@ void rtthread_startup(void) int main(void) { - rt_uint32_t level UNUSED; - /* disable interrupt first */ - level = rt_hw_interrupt_disable(); + rt_hw_interrupt_disable(); rtthread_startup(); return 0; |
