mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 16:50:21 +00:00
MPFS: Set correct interrupt per mode (M-/S-mode) for mtimer
This commit is contained in:
parent
a94b7b9cca
commit
47945e83b2
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ void up_timer_initialize(void)
|
|||
|
||||
struct oneshot_lowerhalf_s *lower = riscv_mtimer_initialize(
|
||||
MPFS_CLINT_MTIME, MPFS_CLINT_MTIMECMP0 + hart_id * sizeof(uintptr_t),
|
||||
RISCV_IRQ_MTIMER, MTIMER_FREQ);
|
||||
RISCV_IRQ_TIMER, MTIMER_FREQ);
|
||||
|
||||
DEBUGASSERT(lower);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue