diff options
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r-- | apps/main_menu.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index 199dca66e7..aa87ed39a3 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c | |||
@@ -88,20 +88,20 @@ int show_logo( void ) | |||
88 | 88 | ||
89 | debugf("read_bmp_file() returned %d, width %d height %d\n", | 89 | debugf("read_bmp_file() returned %d, width %d height %d\n", |
90 | failure, width, height); | 90 | failure, width, height); |
91 | 91 | ||
92 | for(i=0, eline=0; i < height; i+=8, eline++) { | 92 | for(i=0, eline=0; i < height; i+=8, eline++) { |
93 | /* the bitmap function doesn't work with full-height bitmaps | 93 | /* the bitmap function doesn't work with full-height bitmaps |
94 | so we "stripe" the logo output */ | 94 | so we "stripe" the logo output */ |
95 | lcd_bitmap(&buffer[eline*width], 0, 10+i, width, | 95 | lcd_bitmap(&buffer[eline*width], 0, 10+i, width, |
96 | (height-i)>8?8:height-i, false); | 96 | (height-i)>8?8:height-i, false); |
97 | } | ||
98 | } | 97 | } |
99 | #endif | 98 | #endif |
100 | 99 | ||
101 | snprintf(version, sizeof(version), "Ver. %s", appsversion); | 100 | snprintf(version, sizeof(version), "Ver. %s", appsversion); |
102 | lcd_getfontsize(FONT_SYSFIXED, &font_w, &font_h); | 101 | lcd_setfont(FONT_SYSFIXED); |
102 | lcd_getstringsize("A", &font_w, &font_h); | ||
103 | lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2), | 103 | lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2), |
104 | LCD_HEIGHT-font_h, version, FONT_SYSFIXED); | 104 | LCD_HEIGHT-font_h, version); |
105 | lcd_update(); | 105 | lcd_update(); |
106 | 106 | ||
107 | #else | 107 | #else |