Main Menu: Fix crash with DEBUG=1 with custom apps

This commit is contained in:
Willy-JL
2024-05-29 03:11:06 +01:00
parent fe502c0f9f
commit f34dbf4fc1
2 changed files with 2 additions and 1 deletions

View File

@@ -233,7 +233,7 @@ bool loader_menu_load_fap_meta(
}
*icon = malloc(sizeof(Icon));
FURI_CONST_ASSIGN((*icon)->frame_count, 1);
FURI_CONST_ASSIGN((*icon)->frame_rate, 0);
FURI_CONST_ASSIGN((*icon)->frame_rate, 1);
FURI_CONST_ASSIGN((*icon)->width, 10);
FURI_CONST_ASSIGN((*icon)->height, 10);
FURI_CONST_ASSIGN_PTR((*icon)->frames, malloc(sizeof(const uint8_t*)));