From 214bfa4d41deff87400d7c9995ebc7b4c1200592 Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Tue, 17 Sep 2013 17:53:02 +0300 Subject: [PATCH] Disable progress bar and center logo Change-Id: Ie36d33f80e656a0e098dabc45f2d2fb911a45b8b Signed-off-by: Mikko Ylinen --- psplash.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/psplash.c b/psplash.c index 09cf0d0..e7381ba 100644 --- a/psplash.c +++ b/psplash.c @@ -270,12 +270,12 @@ main (int argc, char** argv) /* Draw the Poky logo */ psplash_fb_draw_image (fb, (fb->width - POKY_IMG_WIDTH)/2, - ((fb->height * 5) / 6 - POKY_IMG_HEIGHT)/2, + (fb->height - POKY_IMG_HEIGHT)/2, POKY_IMG_WIDTH, POKY_IMG_HEIGHT, POKY_IMG_BYTES_PER_PIXEL, POKY_IMG_RLE_PIXEL_DATA); - +#if 0 /* Draw progress bar border */ psplash_fb_draw_image (fb, (fb->width - BAR_IMG_WIDTH)/2, @@ -288,6 +288,7 @@ main (int argc, char** argv) psplash_draw_progress (fb, 0); psplash_draw_msg (fb, MSG); +#endif psplash_main (fb, pipe_fd, 0); -- 2.7.4