summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 5cc3cc15ec..ab4c5dab60 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -175,7 +175,7 @@ int mmc_remove_request(void)
175#if defined(CONFIG_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING) 175#if defined(CONFIG_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING)
176 176
177#ifdef HAVE_LCD_BITMAP 177#ifdef HAVE_LCD_BITMAP
178void charging_display_info(bool animate) 178static void charging_display_info(bool animate)
179{ 179{
180 unsigned char charging_logo[36]; 180 unsigned char charging_logo[36];
181 const int pox_x = (LCD_WIDTH - sizeof(charging_logo)) / 2; 181 const int pox_x = (LCD_WIDTH - sizeof(charging_logo)) / 2;
@@ -280,7 +280,7 @@ static void logo_lock_patterns(bool on)
280 } 280 }
281} 281}
282 282
283void charging_display_info(bool animate) 283static void charging_display_info(bool animate)
284{ 284{
285 int battv; 285 int battv;
286 unsigned i, ypos; 286 unsigned i, ypos;
@@ -383,7 +383,7 @@ static int pitch_mode = PITCH_MODE_ABSOLUTE; /* 1 - absolute, -1 - semitone */
383 0 if no key was pressed 383 0 if no key was pressed
384 1 if USB was connected */ 384 1 if USB was connected */
385 385
386void pitch_screen_draw(struct screen *display, int pitch, int pitch_mode) 386static void pitch_screen_draw(struct screen *display, int pitch, int pitch_mode)
387{ 387{
388 unsigned char* ptr; 388 unsigned char* ptr;
389 unsigned char buf[32]; 389 unsigned char buf[32];
@@ -631,7 +631,7 @@ bool pitch_screen(void)
631#define int_to_bool(i)\ 631#define int_to_bool(i)\
632 i==0?false:true 632 i==0?false:true
633 633
634void quick_screen_quick_apply(struct gui_quickscreen *qs) 634static void quick_screen_quick_apply(struct gui_quickscreen *qs)
635{ 635{
636 global_settings.playlist_shuffle=int_to_bool(qs->left_option->option); 636 global_settings.playlist_shuffle=int_to_bool(qs->left_option->option);
637 global_settings.dirfilter=qs->bottom_option->option; 637 global_settings.dirfilter=qs->bottom_option->option;
@@ -718,7 +718,7 @@ bool quick_screen_quick(int button_enter)
718} 718}
719 719
720#ifdef BUTTON_F3 720#ifdef BUTTON_F3
721void quick_screen_f3_apply(struct gui_quickscreen *qs) 721static void quick_screen_f3_apply(struct gui_quickscreen *qs)
722{ 722{
723 global_settings.scrollbar=int_to_bool(qs->left_option->option); 723 global_settings.scrollbar=int_to_bool(qs->left_option->option);
724 724
@@ -1131,7 +1131,7 @@ bool shutdown_screen(void)
1131#define ID3_ITEMS 11 1131#define ID3_ITEMS 11
1132#endif 1132#endif
1133 1133
1134char * id3_get_info(int selected_item, void* data, char *buffer) 1134static char * id3_get_info(int selected_item, void* data, char *buffer)
1135{ 1135{
1136 struct mp3entry* id3 =(struct mp3entry*)data; 1136 struct mp3entry* id3 =(struct mp3entry*)data;
1137 int info_no=selected_item/2; 1137 int info_no=selected_item/2;