diff --git a/apps/main_menu.c b/apps/main_menu.c index 76c20305cf..df9350ad5a 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -34,9 +34,9 @@ extern void tetris(void); #endif -#ifdef HAVE_LCD_BITMAP static int show_logo(void) { +#ifdef HAVE_LCD_BITMAP unsigned char buffer[112 * 8]; int failure; @@ -57,48 +57,28 @@ static int show_logo(void) int eline; for(i=0, eline=0; i< height; i+=8, eline++) { - int x,y; - /* the bitmap function doesn't work with full-height bitmaps so we "stripe" the logo output */ - lcd_bitmap(&buffer[eline*width], 0, 10+i, width, (height-i)>8?8:height-i, false); - -#if 0 - /* for screen output debugging */ - for(y=0; y<8 && (i+y < height); y++) { - for(x=0; x < width; x++) { - - if(buffer[eline*width + x] & (1<