mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
don't try to reset the RTC alarm in hosted mode
there isn't an RTC in hosted mode!
This commit is contained in:
parent
29dab322ed
commit
ba18f3cbe2
1 changed files with 3 additions and 0 deletions
|
|
@ -358,7 +358,10 @@ fn xmain() -> ! {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
log::info!("|status: starting main loop"); // don't change this -- factory test looks for this exact string
|
log::info!("|status: starting main loop"); // don't change this -- factory test looks for this exact string
|
||||||
|
|
||||||
|
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||||
llio.clear_wakeup_alarm().unwrap(); // this is here to clear any wake-up alarms that were set by a prior coldboot command
|
llio.clear_wakeup_alarm().unwrap(); // this is here to clear any wake-up alarms that were set by a prior coldboot command
|
||||||
|
|
||||||
pump_run.store(true, Ordering::Relaxed); // start status thread updating
|
pump_run.store(true, Ordering::Relaxed); // start status thread updating
|
||||||
loop {
|
loop {
|
||||||
let msg = xous::receive_message(status_sid).unwrap();
|
let msg = xous::receive_message(status_sid).unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue