From 2be1b486536e0d9ad33b4e894848d784e183c0c7 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 25 Oct 2025 01:38:55 +0800 Subject: [PATCH] fix import path --- bao1x-boot/boot0/src/platform/bao1x/irq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bao1x-boot/boot0/src/platform/bao1x/irq.rs b/bao1x-boot/boot0/src/platform/bao1x/irq.rs index 8a74da799..2e2af1706 100644 --- a/bao1x-boot/boot0/src/platform/bao1x/irq.rs +++ b/bao1x-boot/boot0/src/platform/bao1x/irq.rs @@ -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);