From 41271d632b74f5cf47c30d3b699eb6b2786f2136 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 23 Jun 2018 13:02:07 +1000 Subject: Added new type definitions - moving towards V3.0 --- demos/applications/combo/bounce.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'demos/applications/combo/bounce.c') 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(); } -- cgit v1.2.3