diff options
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r-- | apps/main_menu.c | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index e1bf424d36..44321142c8 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c | |||
@@ -51,6 +51,7 @@ | |||
51 | #endif | 51 | #endif |
52 | #include "misc.h" | 52 | #include "misc.h" |
53 | #include "lang.h" | 53 | #include "lang.h" |
54 | #include "logfdisp.h" | ||
54 | 55 | ||
55 | #ifdef HAVE_RECORDING | 56 | #ifdef HAVE_RECORDING |
56 | #include "recording.h" | 57 | #include "recording.h" |
@@ -80,25 +81,8 @@ int show_logo( void ) | |||
80 | #endif | 81 | #endif |
81 | 82 | ||
82 | #ifdef HAVE_REMOTE_LCD | 83 | #ifdef HAVE_REMOTE_LCD |
83 | lcd_remote_bitmap(rockbox112x37,10,14,112,37, false); | 84 | lcd_remote_clear_display(); |
84 | #endif | 85 | lcd_remote_bitmap(rockbox112x37,10,14,112,37, false); |
85 | |||
86 | #if 0 | ||
87 | /* | ||
88 | * This code is not used anymore, but I kept it here since it shows | ||
89 | * one way of using the BMP reader function to display an externally | ||
90 | * providing logo. | ||
91 | */ | ||
92 | unsigned char buffer[112 * 8]; | ||
93 | int width, height; | ||
94 | |||
95 | int failure; | ||
96 | failure = read_bmp_file("/rockbox112.bmp", &width, &height, buffer); | ||
97 | |||
98 | debugf("read_bmp_file() returned %d, width %d height %d\n", | ||
99 | failure, width, height); | ||
100 | |||
101 | lcd_bitmap(&buffer, 0, 10, width, height, false); | ||
102 | #endif | 86 | #endif |
103 | 87 | ||
104 | snprintf(version, sizeof(version), "Ver. %s", appsversion); | 88 | snprintf(version, sizeof(version), "Ver. %s", appsversion); |
@@ -365,6 +349,9 @@ bool info_menu(void) | |||
365 | { ID2P(LANG_DEBUG), debug_menu }, | 349 | { ID2P(LANG_DEBUG), debug_menu }, |
366 | #else | 350 | #else |
367 | { ID2P(LANG_USB), simulate_usb }, | 351 | { ID2P(LANG_USB), simulate_usb }, |
352 | #ifdef ROCKBOX_HAS_LOGF | ||
353 | {"logf", logfdisplay }, | ||
354 | #endif | ||
368 | #endif | 355 | #endif |
369 | }; | 356 | }; |
370 | 357 | ||