diff options
Diffstat (limited to 'applications/snake_game/snake_game.c')
-rw-r--r-- | applications/snake_game/snake_game.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/snake_game/snake_game.c b/applications/snake_game/snake_game.c index bfd31ced..b7aabb17 100644 --- a/applications/snake_game/snake_game.c +++ b/applications/snake_game/snake_game.c @@ -304,7 +304,7 @@ int32_t snake_game_app(void* p) { furi_timer_start(timer, furi_kernel_get_tick_frequency() / 4); // 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); SnakeEvent event; @@ -354,7 +354,7 @@ int32_t snake_game_app(void* p) { furi_timer_free(timer); view_port_enabled_set(view_port, false); gui_remove_view_port(gui, view_port); - furi_record_close("gui"); + furi_record_close(RECORD_GUI); view_port_free(view_port); furi_message_queue_free(event_queue); delete_mutex(&state_mutex); |