1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 20:49:49 +04:00

use RECORD defines

This commit is contained in:
MX
2022-08-13 17:58:46 +03:00
parent 686786bb2f
commit 4dab3a83a3
14 changed files with 48 additions and 48 deletions

View File

@@ -377,7 +377,7 @@ int32_t esp8266_deauth_app(void* p) {
view_port_input_callback_set(view_port, esp8266_deauth_module_input_callback, event_queue);
// Open GUI and register view_port
Gui* gui = furi_record_open("gui");
Gui* gui = furi_record_open(RECORD_GUI);
gui_add_view_port(gui, view_port, GuiLayerFullscreen);
//notification_message(app->notification, &sequence_set_only_blue_255);
@@ -511,7 +511,7 @@ int32_t esp8266_deauth_app(void* p) {
gui_remove_view_port(gui, view_port);
// Close gui record
furi_record_close("gui");
furi_record_close(RECORD_GUI);
furi_record_close("notification");
app->m_gui = NULL;