mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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;
|
let mut iters = 0;
|
||||||
loop {
|
loop {
|
||||||
log::info!("suspend/resume cycle: {}", iters);
|
log::info!("suspend/resume cycle: {}", iters);
|
||||||
llio.set_wakeup_alarm(5).unwrap();
|
llio.set_wakeup_alarm(4).unwrap();
|
||||||
ticktimer.sleep_ms(1000).unwrap();
|
|
||||||
match susres.initiate_suspend() {
|
match susres.initiate_suspend() {
|
||||||
Err(xous::Error::Timeout) => {
|
Err(xous::Error::Timeout) => {
|
||||||
log::warn!("Couldn't suspend, a server was blocking suspend.\n");
|
log::warn!("Couldn't suspend, a server was blocking suspend.\n");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue