diff options
| author | Bernard Xiong <[email protected]> | 2020-09-04 09:34:37 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-04 09:34:37 +0800 |
| commit | dfab232a5f4d4aeef87c8cb07c5f9538ba431be8 (patch) | |
| tree | 2f173667ce15d8ec15929dfe2afdee52a95feb0d | |
| parent | 86e4216275ded5f6e2cb28bbc33e754942910173 (diff) | |
| parent | eb00fbeda7d9139805a5cf525779d15022188f18 (diff) | |
Merge pull request #3877 from nuclei-community/dev_nuclei_fixport
libcpu/nuclei: Fix wrong RT_KERNEL_INTERRUPT_LEVEL
| -rw-r--r-- | libcpu/risc-v/nuclei/cpuport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/risc-v/nuclei/cpuport.c b/libcpu/risc-v/nuclei/cpuport.c index fad9afdf4c..e456438f70 100644 --- a/libcpu/risc-v/nuclei/cpuport.c +++ b/libcpu/risc-v/nuclei/cpuport.c @@ -19,7 +19,7 @@ #define SYSTICK_TICK_CONST (SOC_TIMER_FREQ / RT_TICK_PER_SECOND) /* Interrupt level for kernel systimer interrupt and software timer interrupt */ -#define RT_KERNEL_INTERRUPT_LEVEL 1 +#define RT_KERNEL_INTERRUPT_LEVEL 0 /* Initial CSR MSTATUS value when thread created */ #define RT_INITIAL_MSTATUS (MSTATUS_MPP | MSTATUS_MPIE | MSTATUS_FS_INITIAL) |
