adjust ticktimer to reflect real time

This commit is contained in:
bunnie 2024-05-06 02:43:30 +08:00
parent e76c1d9172
commit 12327ab255

View file

@ -114,6 +114,8 @@ impl XousTickTimer {
#[cfg(feature = "watchdog")]
wdt: CSR::new(wdt.as_mut_ptr() as *mut u32),
};
// TODO: base this off of some system-level constant
xtt.csr.wo(utra::ticktimer::CLOCKS_PER_TICK, 200_000);
#[cfg(feature = "watchdog")]
{