transmute fix

This commit is contained in:
Per Lindgren 2020-10-25 22:50:38 +01:00
parent 41b84b9166
commit 0b29e6da87

View file

@ -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)));
}
_ => {}
};