mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
fix return bug in xous-rs
turns out we were testing against the published version on crates.io the local version was irrelevant in previous tests.
This commit is contained in:
parent
d53c78b472
commit
5d82630502
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ pub fn id() -> u32 {
|
||||||
|
|
||||||
if let Ok(pid) = crate::syscall::current_pid() {
|
if let Ok(pid) = crate::syscall::current_pid() {
|
||||||
CACHED_PID.store(pid.get() as u32, Ordering::Relaxed);
|
CACHED_PID.store(pid.get() as u32, Ordering::Relaxed);
|
||||||
pid.get() as u32;
|
pid.get() as u32
|
||||||
} else {
|
} else {
|
||||||
0
|
0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue