mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
Update kernel/src/services.rs
Co-authored-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
126896bf54
commit
f53502d9a2
1 changed files with 1 additions and 1 deletions
|
|
@ -1316,7 +1316,7 @@ impl SystemServices {
|
||||||
|
|
||||||
// return argument based upon the lazy_arg type
|
// return argument based upon the lazy_arg type
|
||||||
// we get "lucky" in that sender_idx *and* new_tid are both `usize` types underneath
|
// we get "lucky" in that sender_idx *and* new_tid are both `usize` types underneath
|
||||||
if let Some(si) = sender_idx { Ok(si) } else { Ok(new_tid) }
|
Ok(sender_idx.unwrap_or(new_tid))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Move memory from one process to another.
|
/// Move memory from one process to another.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue