mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +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 {
|
match TASK {
|
||||||
Task::Idle | Task::Done(_) => {
|
Task::Idle | Task::Done(_) => {
|
||||||
hprintln!("create task").ok();
|
hprintln!("create task").ok();
|
||||||
TASK.spawn(|| create(cx));
|
TASK.spawn(|| create(mem::transmute(cx)));
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue