mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix import path
This commit is contained in:
parent
d11d2f8cd5
commit
2be1b48653
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ pub extern "C" fn trap_handler(
|
|||
// external interrupt. find out which ones triggered it, and clear the source.
|
||||
let irqs_pending = mip::read();
|
||||
if (irqs_pending & (1 << utra::timer0::TIMER0_IRQ)) != 0 {
|
||||
let ms = SYSTEM_TICK_INTERVAL_MS;
|
||||
let ms = bao1x_api::SYSTEM_TICK_INTERVAL_MS;
|
||||
let mut timer0 = CSR::new(utra::timer0::HW_TIMER0_BASE as *mut u32);
|
||||
timer0.wfo(utra::timer0::EV_PENDING_ZERO, 1);
|
||||
timer0.wfo(utra::timer0::RELOAD_RELOAD, (crate::DEFAULT_FCLK_FREQUENCY / 1_000) * ms);
|
||||
|
|
|
|||
Loading…
Reference in a new issue