aboutsummaryrefslogtreecommitdiffstats
path: root/demos/applications/combo/mandelbrot.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/applications/combo/mandelbrot.c')
-rw-r--r--demos/applications/combo/mandelbrot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/applications/combo/mandelbrot.c b/demos/applications/combo/mandelbrot.c
index 68ee1fae..8033957c 100644
--- a/demos/applications/combo/mandelbrot.c
+++ b/demos/applications/combo/mandelbrot.c
@@ -30,7 +30,7 @@
#include "gfx.h"
#include "tasks.h"
-static volatile bool_t run;
+static volatile gBool run;
static GHandle gh;
static gfxThreadHandle thread;
@@ -85,13 +85,13 @@ static DECLARE_THREAD_FUNCTION(task, param) {
return 0;
}
-void doMandlebrot(GHandle parent, bool_t start) {
+void doMandlebrot(GHandle parent, gBool start) {
if (start) {
- run = TRUE;
+ run = gTrue;
gh = parent;
thread = gfxThreadCreate(0, 0x400, LOW_PRIORITY, task, 0);
} else if (run) {
- run = FALSE;
+ run = gFalse;
gfxThreadWait(thread);
}
}