Browse Source

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

greatbridf 7 months ago
parent
commit
b1fb9dea12
1 changed files with 1 additions and 1 deletions
  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;
 }