mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
xous: hosted: set the thread ID to 1 at startup
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
d126108412
commit
c15cd45d64
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ macro_rules! maybe_main {
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
#[cfg(not(target_os = "xous"))]
|
#[cfg(not(target_os = "xous"))]
|
||||||
xous::arch::ensure_connection().unwrap();
|
xous::arch::set_thread_id(1);
|
||||||
unsafe { xous_entry() };
|
unsafe { xous_entry() };
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue