diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-02-19 08:00:52 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-02-19 08:00:52 +1000 |
commit | b82448c3e23663a25a423402343fbca78253b80c (patch) | |
tree | 57a03e35b88f6e434b6c4d084695fc5ce1061932 /demos/3rdparty/bubbles/main.c | |
parent | dcedf414136e55e6dacbe736babe748e1374e19e (diff) | |
parent | 37966ff16d923bbca53c9464815cb49cbd7fc3be (diff) | |
download | uGFX-b82448c3e23663a25a423402343fbca78253b80c.tar.gz uGFX-b82448c3e23663a25a423402343fbca78253b80c.tar.bz2 uGFX-b82448c3e23663a25a423402343fbca78253b80c.zip |
Merge branch 'master' into gwin
Diffstat (limited to 'demos/3rdparty/bubbles/main.c')
-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(); |