浏览代码

fix(timer): riscv64 should have timer frequency 1000Hz

greatbridf 7 月之前
父节点
当前提交
b1fb9dea12
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      crates/eonix_hal/src/arch/riscv64/config.rs

+ 1 - 1
crates/eonix_hal/src/arch/riscv64/config.rs

@@ -47,5 +47,5 @@ pub mod platform {
 }
 
 pub mod time {
-    pub const INTERRUPTS_PER_SECOND: usize = 100;
+    pub const INTERRUPTS_PER_SECOND: usize = 1000;
 }