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