make susres stress test a bit harder

This commit is contained in:
bunnie 2023-02-01 03:14:57 +08:00
parent 7cf448c0d1
commit 8c08cf8f91

View file

@ -92,8 +92,7 @@ impl<'a> ShellCmdApi<'a> for Sleep {
let mut iters = 0;
loop {
log::info!("suspend/resume cycle: {}", iters);
llio.set_wakeup_alarm(5).unwrap();
ticktimer.sleep_ms(1000).unwrap();
llio.set_wakeup_alarm(4).unwrap();
match susres.initiate_suspend() {
Err(xous::Error::Timeout) => {
log::warn!("Couldn't suspend, a server was blocking suspend.\n");