unleashed-firmware/applications/scened_app_example/scened_app_launcher.cpp

12 lines
190 B
C++
Raw Normal View History

#include "scened_app.h"
// app enter function
extern "C" int32_t scened_app(void* p) {
UNUSED(p);
ScenedApp* app = new ScenedApp();
app->run();
delete app;
return 0;
}