aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gdisp_basics/main.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-12-20 19:50:02 +0100
committerJoel Bodenmann <joel@unormal.org>2012-12-20 19:50:02 +0100
commit2df6eaf2fdd5064b410369cc67b614362a63dde2 (patch)
treeb4f66b8d698bb350caf3f9da4b16db16a3cc8dc6 /demos/modules/gdisp_basics/main.c
parentbee9002fcc323e76c9e243424c48f52847f72b67 (diff)
downloaduGFX-2df6eaf2fdd5064b410369cc67b614362a63dde2.tar.gz
uGFX-2df6eaf2fdd5064b410369cc67b614362a63dde2.tar.bz2
uGFX-2df6eaf2fdd5064b410369cc67b614362a63dde2.zip
small demo code cleanup
Diffstat (limited to 'demos/modules/gdisp_basics/main.c')
-rw-r--r--demos/modules/gdisp_basics/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/modules/gdisp_basics/main.c b/demos/modules/gdisp_basics/main.c
index e18b0e9e..fa0bef45 100644
--- a/demos/modules/gdisp_basics/main.c
+++ b/demos/modules/gdisp_basics/main.c
@@ -39,9 +39,10 @@ int main(void) {
// Code Here
gdispDrawBox(10, 10, width/2, height/2, Yellow);
- gdispFillArea (width/2, height/2, width/2-10, height/2-10, Blue);
- gdispDrawLine (5, 30, width-50, height-40, Red);
- for(i=5, j=0; i < width && j < height; i+=7, j+=i/20)
+ gdispFillArea(width/2, height/2, width/2-10, height/2-10, Blue);
+ gdispDrawLine(5, 30, width-50, height-40, Red);
+
+ for(i = 5, j = 0; i < width && j < height; i += 7, j += i/20)
gdispDrawPixel (i, j, White);
while(TRUE) {