mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix bug in debug
This commit is contained in:
parent
c06612e43e
commit
3112f41d96
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ pub extern "C" fn kmain() {
|
|||
match pid {
|
||||
Some(pid) => {
|
||||
#[cfg(feature = "debug-print")]
|
||||
println!(" PID{:?}->{:?}", last_pid.unwrap_or(0), pid); // keep this succinct as it happens often
|
||||
println!(" PID{:?}->{:?}", last_pid, pid); // keep this succinct as it happens often
|
||||
xous_kernel::rsyscall(xous_kernel::SysCall::SwitchTo(pid, 0))
|
||||
.expect("couldn't switch to pid");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue