aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gtimer/main.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
committerinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
commit41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch)
tree78bcb729c6d6177ca598f28908fefd186c50e9b6 /demos/modules/gtimer/main.c
parent3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff)
downloaduGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip
Added new type definitions - moving towards V3.0
Diffstat (limited to 'demos/modules/gtimer/main.c')
-rw-r--r--demos/modules/gtimer/main.c6
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(&GT2);
/* continious mode - callback1() called without any argument every 250ms */
- gtimerStart(&GT1, callback1, 0, TRUE, 250);
+ gtimerStart(&GT1, callback1, 0, gTrue, 250);
/* single shot mode - callback2() called without any argument once after 1s */
- gtimerStart(&GT2, callback2, 0, FALSE, 1000);
+ gtimerStart(&GT2, callback2, 0, gFalse, 1000);
- while(TRUE) {
+ while(1) {
gfxSleepMilliseconds(500);
}