From c6c1d62489b81c3568aa7d57a01c543a1c3f1f4a Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 10 Dec 2022 14:36:39 -0500 Subject: [Bug Fix] filetypes.c move voice data out of INIT_ATTR tree_get_filetype_voiceclip is called after init it shouldn't be marked as INIT_ATTR add _init to the functions & data that are used at init only to be a bit more clear Change-Id: I8eb1914560b782c2c0fdd7649e761f94e382d5cb --- apps/filetypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/filetypes.h') diff --git a/apps/filetypes.h b/apps/filetypes.h index 9013f81b02..5aae772a9c 100644 --- a/apps/filetypes.h +++ b/apps/filetypes.h @@ -55,12 +55,12 @@ struct filetype { int tree_attr; }; -void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR; -long tree_get_filetype_voiceclip(int attr) INIT_ATTR; +long tree_get_filetype_voiceclip(int attr); /* init the filetypes structs. uses audio buffer for storage, so call early in init... */ void filetype_init(void) INIT_ATTR; + void read_viewer_theme_file(void); #ifdef HAVE_LCD_COLOR void read_color_theme_file(void); -- cgit v1.2.3