mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
improve reboot timings after root key init
This commit is contained in:
parent
54947a2216
commit
811bd88111
1 changed files with 2 additions and 1 deletions
|
|
@ -601,7 +601,7 @@ fn xmain() -> ! {
|
|||
ticktimer.sleep_ms(1500).unwrap();
|
||||
if !reboot_initiated {
|
||||
// set a wakeup alarm a couple seconds from now -- this is the coldboot
|
||||
llio.set_wakeup_alarm(3).unwrap();
|
||||
llio.set_wakeup_alarm(5).unwrap();
|
||||
|
||||
// allow EC to snoop, so that it can wake up the system
|
||||
llio.allow_ec_snoop(true).unwrap();
|
||||
|
|
@ -612,6 +612,7 @@ fn xmain() -> ! {
|
|||
|
||||
log::info!("rebooting now!");
|
||||
reboot_initiated = true;
|
||||
ticktimer.sleep_ms(2000).unwrap();
|
||||
}
|
||||
|
||||
// refresh the message if it goes away
|
||||
|
|
|
|||
Loading…
Reference in a new issue