diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-10-28 00:42:38 +0100 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-10-28 09:52:09 +1000 |
commit | 36c55722ddc06af682d7c7bdeb71ba75a3b0fb83 (patch) | |
tree | 2a68e9b62467b121d049d08ff2cd325de0361466 /demos/modules/gwin/basic/main.c | |
parent | 4b76efce1d2676333606d4fd08f34ace33824312 (diff) | |
download | uGFX-36c55722ddc06af682d7c7bdeb71ba75a3b0fb83.tar.gz uGFX-36c55722ddc06af682d7c7bdeb71ba75a3b0fb83.tar.bz2 uGFX-36c55722ddc06af682d7c7bdeb71ba75a3b0fb83.zip |
updated GDISP and GWIN demos
Diffstat (limited to 'demos/modules/gwin/basic/main.c')
-rw-r--r-- | demos/modules/gwin/basic/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c index c46e6969..eee22f29 100644 --- a/demos/modules/gwin/basic/main.c +++ b/demos/modules/gwin/basic/main.c @@ -37,7 +37,7 @@ int main(void) { /* Initialize and clear the display */ gfxInit(); - gdispClear(Lime); + gdispClear(White); /* Create two windows */ { @@ -60,7 +60,7 @@ int main(void) { gwinClear(GW2); gwinDrawLine(GW1, 5, 30, 150, 110); - for(i=5, j=0; i < 200 && j < 150; i+=3, j+=i/20) + for(i = 5, j = 0; i < 200 && j < 150; i += 3, j += i/20) gwinDrawPixel(GW1, i, j); /* |