projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for AT91SAM7X128.
[bertos.git]
/
app
/
demo
/
demo.c
diff --git
a/app/demo/demo.c
b/app/demo/demo.c
index 4d0172f9ef62f07c77f464e5f38090e44134a5d3..f28576ea2677305c2c30bda4c4d149cb6fa83cd2 100644
(file)
--- 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;
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 */
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,
/* Update graphics */
gfx_bitmapClear(bm);
gfx_blitImage(bm,
- (bm->width -
project_grl
_logo.width) / 2,
+ (bm->width -
bertos
_logo.width) / 2,
h / SPEED_SCALE,
h / SPEED_SCALE,
- &
project_grl
_logo);
+ &
bertos
_logo);
lcd_blitBitmap(bm);
timer_delay(10);
lcd_blitBitmap(bm);
timer_delay(10);