mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
adjust ticktimer to reflect real time
This commit is contained in:
parent
e76c1d9172
commit
12327ab255
1 changed files with 2 additions and 0 deletions
|
|
@ -114,6 +114,8 @@ impl XousTickTimer {
|
||||||
#[cfg(feature = "watchdog")]
|
#[cfg(feature = "watchdog")]
|
||||||
wdt: CSR::new(wdt.as_mut_ptr() as *mut u32),
|
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")]
|
#[cfg(feature = "watchdog")]
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue