mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
transmute fix
This commit is contained in:
parent
41b84b9166
commit
0b29e6da87
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ mod app {
|
|||
match TASK {
|
||||
Task::Idle | Task::Done(_) => {
|
||||
hprintln!("create task").ok();
|
||||
TASK.spawn(|| create(cx));
|
||||
TASK.spawn(|| create(mem::transmute(cx)));
|
||||
}
|
||||
_ => {}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue