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/nios_ii | |
| parent | e029f14b46a5556a2d771daf1e995b47b9e52d47 (diff) | |
[BSP] use RT_UNUSED instead of UNUSED
Diffstat (limited to 'bsp/nios_ii')
| -rw-r--r-- | bsp/nios_ii/startup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bsp/nios_ii/startup.c b/bsp/nios_ii/startup.c index cb43a7ae0b..25ebb5e4ac 100644 --- a/bsp/nios_ii/startup.c +++ b/bsp/nios_ii/startup.c @@ -85,10 +85,8 @@ void rtthread_startup(void) int main(void) { - rt_uint32_t UNUSED level; - /* disable interrupt first */ - level = rt_hw_interrupt_disable(); + rt_hw_interrupt_disable(); /* startup RT-Thread RTOS */ rtthread_startup(); |
