diff options
Diffstat (limited to 'demos/modules/gwin/graph/main.c')
-rw-r--r-- | demos/modules/gwin/graph/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/graph/main.c b/demos/modules/gwin/graph/main.c index 2ca4d1a6..c184a939 100644 --- a/demos/modules/gwin/graph/main.c +++ b/demos/modules/gwin/graph/main.c @@ -71,7 +71,7 @@ int main(void) { { GWindowInit wi; - wi.show = TRUE; + wi.show = gTrue; wi.x = wi.y = 0; wi.width = gdispGetWidth(); wi.height = gdispGetHeight(); @@ -105,7 +105,7 @@ int main(void) { // Draw a set of points gwinGraphDrawPoints(gh, data, sizeof(data)/sizeof(data[0])); - while(TRUE) { + while(1) { gfxSleepMilliseconds(100); } } |