don't try to reset the RTC alarm in hosted mode

there isn't an RTC in hosted mode!
This commit is contained in:
bunnie 2022-03-30 23:33:00 +08:00
parent 29dab322ed
commit ba18f3cbe2

View file

@ -358,7 +358,10 @@ fn xmain() -> ! {
}
});
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
pump_run.store(true, Ordering::Relaxed); // start status thread updating
loop {
let msg = xous::receive_message(status_sid).unwrap();