mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add more debugging logic
This commit is contained in:
parent
95b4df1923
commit
b1a37037dd
1 changed files with 2 additions and 0 deletions
|
|
@ -94,8 +94,10 @@ impl Susres {
|
||||||
).expect("couldn't query if my suspend was successful");
|
).expect("couldn't query if my suspend was successful");
|
||||||
if let xous::Result::Scalar1(result) = response {
|
if let xous::Result::Scalar1(result) = response {
|
||||||
if result != 0 {
|
if result != 0 {
|
||||||
|
log::debug!("resume pid {} clean", xous::process::id()); // <-- use this to debug s/r
|
||||||
Ok(true)
|
Ok(true)
|
||||||
} else {
|
} else {
|
||||||
|
log::debug!("resume pid {} dirty", xous::process::id()); // <-- use this to debug s/r
|
||||||
Ok(false)
|
Ok(false)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue