mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +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() {
|
||||
#[cfg(not(target_os = "xous"))]
|
||||
xous::arch::ensure_connection().unwrap();
|
||||
xous::arch::set_thread_id(1);
|
||||
unsafe { xous_entry() };
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue