aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/basic/main.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-10-28 00:42:38 +0100
committerinmarket <andrewh@inmarket.com.au>2013-10-28 09:52:09 +1000
commit36c55722ddc06af682d7c7bdeb71ba75a3b0fb83 (patch)
tree2a68e9b62467b121d049d08ff2cd325de0361466 /demos/modules/gwin/basic/main.c
parent4b76efce1d2676333606d4fd08f34ace33824312 (diff)
downloaduGFX-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.c4
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);
/*