mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
remake fix in ofw way
view_dispatcher will skip on _run and free will be called, then app will exit same as normal
This commit is contained in:
parent
416a02fc5b
commit
46e74b3823
1 changed files with 0 additions and 3 deletions
|
@ -192,10 +192,7 @@ int32_t lfrfid_app(void* p) {
|
||||||
scene_manager_next_scene(app->scene_manager, LfRfidSceneEmulate);
|
scene_manager_next_scene(app->scene_manager, LfRfidSceneEmulate);
|
||||||
dolphin_deed(DolphinDeedRfidEmulate);
|
dolphin_deed(DolphinDeedRfidEmulate);
|
||||||
} else {
|
} else {
|
||||||
// TODO: exit properly
|
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
lfrfid_free(app);
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue