mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
xous: run cargo fmt
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
f7ae13da44
commit
c516919479
2 changed files with 4 additions and 6 deletions
|
|
@ -297,9 +297,7 @@ fn xous_address() -> SocketAddr {
|
||||||
.unwrap_or_else(default_xous_address)
|
.unwrap_or_else(default_xous_address)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn create_thread_0_pre<U>(
|
pub fn create_thread_0_pre<U>(_f: &fn() -> U) -> core::result::Result<ThreadInit, crate::Error>
|
||||||
_f: &fn() -> U,
|
|
||||||
) -> core::result::Result<ThreadInit, crate::Error>
|
|
||||||
where
|
where
|
||||||
U: Send + 'static,
|
U: Send + 'static,
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ Here is the allocation so far:
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pub const GID_KEYBOARD_KEYSTATE_EVENT: usize = 0x01_000000;
|
pub const GID_KEYBOARD_KEYSTATE_EVENT: usize = 0x01_000000;
|
||||||
pub const GID_KEYBOARD_RAW_KEYSTATE_EVENT: usize = 0x01_000001;
|
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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue