[FL-1475] iButton emulate shortcat (#535)

* ibutton: run emulation when launched with argument
* app-loader: set NULL context when starting application from menu
* ibutton: change p to argc
* ibutton: fix load key data from file
* ibutton: fix memory leak
This commit is contained in:
gornekich
2021-06-24 14:32:33 +03:00
committed by GitHub
parent 5b8f147882
commit 8cc0a9a998
4 changed files with 106 additions and 71 deletions

View File

@@ -3,7 +3,7 @@
// app enter function
extern "C" int32_t app_ibutton(void* p) {
iButtonApp* app = new iButtonApp();
app->run();
app->run(p);
delete app;
return 255;