mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 05:58:36 -07:00
Integrate RGB backlight into API + add to xfw app
This commit is contained in:
@@ -139,6 +139,7 @@ XtremeApp* xtreme_app_alloc() {
|
||||
XtremeApp* app = malloc(sizeof(XtremeApp));
|
||||
app->gui = furi_record_open(RECORD_GUI);
|
||||
app->dialogs = furi_record_open(RECORD_DIALOGS);
|
||||
app->notification = furi_record_open(RECORD_NOTIFICATION);
|
||||
|
||||
// View Dispatcher and Scene Manager
|
||||
app->view_dispatcher = view_dispatcher_alloc();
|
||||
@@ -301,6 +302,7 @@ void xtreme_app_free(XtremeApp* app) {
|
||||
furi_string_free(app->version_tag);
|
||||
|
||||
// Records
|
||||
furi_record_close(RECORD_NOTIFICATION);
|
||||
furi_record_close(RECORD_DIALOGS);
|
||||
furi_record_close(RECORD_GUI);
|
||||
free(app);
|
||||
|
||||
Reference in New Issue
Block a user