diff options
Diffstat (limited to 'demos/modules/gtimer/main.c')
-rw-r--r-- | demos/modules/gtimer/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/modules/gtimer/main.c b/demos/modules/gtimer/main.c index 89a6bab7..7612772c 100644 --- a/demos/modules/gtimer/main.c +++ b/demos/modules/gtimer/main.c @@ -51,12 +51,12 @@ int main(void) { gtimerInit(>2);
/* continious mode - callback1() called without any argument every 250ms */
- gtimerStart(>1, callback1, 0, TRUE, 250);
+ gtimerStart(>1, callback1, 0, gTrue, 250);
/* single shot mode - callback2() called without any argument once after 1s */
- gtimerStart(>2, callback2, 0, FALSE, 1000);
+ gtimerStart(>2, callback2, 0, gFalse, 1000);
- while(TRUE) {
+ while(1) {
gfxSleepMilliseconds(500);
}
|