Sfoglia il codice sorgente

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

greatbridf 7 mesi fa
parent
commit
b1fb9dea12
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
 }