소스 검색

Merge pull request #3877 from nuclei-community/dev_nuclei_fixport

libcpu/nuclei: Fix wrong RT_KERNEL_INTERRUPT_LEVEL
Bernard Xiong 4 년 전
부모
커밋
dfab232a5f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libcpu/risc-v/nuclei/cpuport.c

+ 1 - 1
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)