flipperzero-firmware/applications/ibutton/ibutton.cpp
gornekich 8cc0a9a998
[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
2021-06-24 14:32:33 +03:00

10 lines
181 B
C++

#include "ibutton-app.h"
// app enter function
extern "C" int32_t app_ibutton(void* p) {
iButtonApp* app = new iButtonApp();
app->run(p);
delete app;
return 255;
}