diff --git a/xous-rs/src/arch/hosted.rs b/xous-rs/src/arch/hosted.rs index ca1e586a8..7efe75c4c 100644 --- a/xous-rs/src/arch/hosted.rs +++ b/xous-rs/src/arch/hosted.rs @@ -297,9 +297,7 @@ fn xous_address() -> SocketAddr { .unwrap_or_else(default_xous_address) } -pub fn create_thread_0_pre( - _f: &fn() -> U, -) -> core::result::Result +pub fn create_thread_0_pre(_f: &fn() -> U) -> core::result::Result where U: Send + 'static, { diff --git a/xous-rs/src/names.rs b/xous-rs/src/names.rs index 2bd0cd5cc..0188a3cbc 100644 --- a/xous-rs/src/names.rs +++ b/xous-rs/src/names.rs @@ -26,7 +26,7 @@ Here is the allocation so far: */ -pub const GID_KEYBOARD_KEYSTATE_EVENT: usize = 0x01_000000; -pub const GID_KEYBOARD_RAW_KEYSTATE_EVENT: usize = 0x01_000001; +pub const GID_KEYBOARD_KEYSTATE_EVENT: usize = 0x01_000000; +pub const GID_KEYBOARD_RAW_KEYSTATE_EVENT: usize = 0x01_000001; -pub const GID_COM_BATTSTATS_EVENT: usize = 0x02_000000; +pub const GID_COM_BATTSTATS_EVENT: usize = 0x02_000000;