diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-02-19 00:23:07 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-02-19 00:23:07 +1000 |
commit | fe6708c7a284fcd17082ef1b59ead564db47bcbc (patch) | |
tree | aa0f112bc2e745b2984242a35890022711e11279 /demos/3rdparty | |
parent | 5f8ca40ef00e457b326b25615bca1348a15c23b8 (diff) | |
download | uGFX-fe6708c7a284fcd17082ef1b59ead564db47bcbc.tar.gz uGFX-fe6708c7a284fcd17082ef1b59ead564db47bcbc.tar.bz2 uGFX-fe6708c7a284fcd17082ef1b59ead564db47bcbc.zip |
Demo updates to fix compile issues.
Diffstat (limited to 'demos/3rdparty')
-rw-r--r-- | demos/3rdparty/bubbles/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/3rdparty/bubbles/main.c b/demos/3rdparty/bubbles/main.c index 62ef2830..f167b536 100644 --- a/demos/3rdparty/bubbles/main.c +++ b/demos/3rdparty/bubbles/main.c @@ -60,7 +60,7 @@ void matrix (int16_t xyz[3][N], color_t col[N]) xyz[0][i] = x; xyz[1][i] = y; - d = sqrtf(x * x + y * y); /* originally a fastsqrt() call */ + d = sqrt(x * x + y * y); /* originally a fastsqrt() call */ s = sine[(t * 30) % SCALE] + SCALE; xyz[2][i] = sine[(d + s) % SCALE] * sine[(t * 10) % SCALE] / SCALE / 2; @@ -151,11 +151,11 @@ int main (void) gfxInit(); - chThdSleepMilliseconds (10); + gfxSleepMilliseconds (10); gdispClear (background); /* glitches.. */ - chThdSleepMilliseconds (10); + gfxSleepMilliseconds (10); gdispClear (background); /* glitches.. */ - chThdSleepMilliseconds (10); + gfxSleepMilliseconds (10); gdispClear (background); /* glitches.. */ width = (uint16_t)gdispGetWidth(); |