aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gtimer/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gtimer/main.c')
-rw-r--r--demos/modules/gtimer/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gtimer/main.c b/demos/modules/gtimer/main.c
index a0ea6aee..89a6bab7 100644
--- a/demos/modules/gtimer/main.c
+++ b/demos/modules/gtimer/main.c
@@ -51,10 +51,10 @@ int main(void) {
gtimerInit(&GT2);
/* continious mode - callback1() called without any argument every 250ms */
- gtimerStart(&GT1, callback1, NULL, TRUE, 250);
+ gtimerStart(&GT1, callback1, 0, TRUE, 250);
/* single shot mode - callback2() called without any argument once after 1s */
- gtimerStart(&GT2, callback2, NULL, FALSE, 1000);
+ gtimerStart(&GT2, callback2, 0, FALSE, 1000);
while(TRUE) {
gfxSleepMilliseconds(500);