From: asterix Date: Thu, 13 Mar 2008 10:45:06 +0000 (+0000) Subject: Fix logo name. X-Git-Tag: 1.0.0~65 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=f5207bd1f7e86dccc484802550cb1e53bb403c50;p=bertos.git Fix logo name. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1187 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/app/demo/demo.c b/app/demo/demo.c index 4d0172f9..f28576ea 100644 --- a/app/demo/demo.c +++ b/app/demo/demo.c @@ -101,7 +101,7 @@ static void bouncing_logo(Bitmap *bm) const long SPEED_SCALE = 1000; const long GRAVITY_ACCEL = 10; const long BOUNCE_ELASTICITY = 2; - long h = (long)(-project_grl_logo.height) * SPEED_SCALE; + long h = (long)(-bertos_logo.height) * SPEED_SCALE; long speed = 1000; /* Repeat until logo stands still on the bottom edge */ @@ -123,9 +123,9 @@ static void bouncing_logo(Bitmap *bm) /* Update graphics */ gfx_bitmapClear(bm); gfx_blitImage(bm, - (bm->width - project_grl_logo.width) / 2, + (bm->width - bertos_logo.width) / 2, h / SPEED_SCALE, - &project_grl_logo); + &bertos_logo); lcd_blitBitmap(bm); timer_delay(10);