X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Fdemo%2Fdemo.c;h=f28576ea2677305c2c30bda4c4d149cb6fa83cd2;hb=211f1718bc7a3553323733eea821a477decf0cc7;hp=4d0172f9ef62f07c77f464e5f38090e44134a5d3;hpb=04e7f227ba5a6a87fe2f903cd607c905e20f7184;p=bertos.git 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);