mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
make susres stress test a bit harder
This commit is contained in:
parent
7cf448c0d1
commit
8c08cf8f91
1 changed files with 1 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue