Browse Source

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

greatbridf 7 tháng trước cách đây
mục cha
commit
b1fb9dea12
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 }