main.c 553 B

12345678910111213141516171819202122
  1. #include <furi.h>
  2. #include "app/app.h"
  3. #include "scenes/scenes.h"
  4. int32_t crypto_dict_app(void* p);
  5. int main() {
  6. void* parameter = NULL;
  7. crypto_dict_app(parameter);
  8. return 0;
  9. }
  10. int32_t crypto_dict_app(void* p) {
  11. UNUSED(p);
  12. App* app = app_alloc();
  13. Gui* gui = furi_record_open(RECORD_GUI);
  14. view_dispatcher_attach_to_gui(app->view_dispatcher, gui, ViewDispatcherTypeFullscreen);
  15. scene_manager_next_scene(app->scene_manager, MainMenuScene);
  16. view_dispatcher_run(app->view_dispatcher);
  17. app_free(app);
  18. return 0;
  19. }