mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Update apps
This commit is contained in:
@@ -27,6 +27,7 @@ EspFlasherApp* esp_flasher_app_alloc() {
|
||||
app->gui = furi_record_open(RECORD_GUI);
|
||||
app->dialogs = furi_record_open(RECORD_DIALOGS);
|
||||
app->storage = furi_record_open(RECORD_STORAGE);
|
||||
app->notification = furi_record_open(RECORD_NOTIFICATION);
|
||||
|
||||
app->view_dispatcher = view_dispatcher_alloc();
|
||||
app->scene_manager = scene_manager_alloc(&esp_flasher_scene_handlers, app);
|
||||
@@ -65,6 +66,9 @@ EspFlasherApp* esp_flasher_app_alloc() {
|
||||
|
||||
app->flash_worker_busy = false;
|
||||
|
||||
app->reset = false;
|
||||
app->boot = false;
|
||||
|
||||
scene_manager_next_scene(app->scene_manager, EspFlasherSceneStart);
|
||||
|
||||
return app;
|
||||
@@ -103,6 +107,7 @@ void esp_flasher_app_free(EspFlasherApp* app) {
|
||||
furi_record_close(RECORD_GUI);
|
||||
furi_record_close(RECORD_STORAGE);
|
||||
furi_record_close(RECORD_DIALOGS);
|
||||
furi_record_close(RECORD_NOTIFICATION);
|
||||
|
||||
free(app);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user