diff options
| author | Bernard Xiong <[email protected]> | 2018-12-08 10:41:38 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-12-08 10:41:38 +0800 |
| commit | 2a7d814f77a42da4dc126a9e75f6e8705f6bf0cd (patch) | |
| tree | 6ff106c3f3a25bf2a1aa32b0e01f6e33af2221af /src/irq.c | |
| parent | 94e6c349a699fc6d85738eaff048be97a3aa3495 (diff) | |
[libcpu] Add unified RISC-V libcpu porting.
Diffstat (limited to 'src/irq.c')
| -rw-r--r-- | src/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ void rt_interrupt_leave_sethook(void (*hook)(void)) #ifdef RT_USING_SMP #define rt_interrupt_nest rt_cpu_self()->irq_nest #else -volatile rt_uint8_t rt_interrupt_nest; +volatile rt_uint8_t rt_interrupt_nest = 0; #endif /** |
