mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +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");
|
||||
if let xous::Result::Scalar1(result) = response {
|
||||
if result != 0 {
|
||||
log::debug!("resume pid {} clean", xous::process::id()); // <-- use this to debug s/r
|
||||
Ok(true)
|
||||
} else {
|
||||
log::debug!("resume pid {} dirty", xous::process::id()); // <-- use this to debug s/r
|
||||
Ok(false)
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue