From d4ffd6b8e6ebaea4e2a03260c34f5a8e90df1953 Mon Sep 17 00:00:00 2001 From: dopefishh Date: Fri, 2 Oct 2015 12:56:35 +0200 Subject: [PATCH] hallo --- mart/ex10/ex10dmaster.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mart/ex10/ex10dmaster.c b/mart/ex10/ex10dmaster.c index b95d7e2..ca05678 100644 --- a/mart/ex10/ex10dmaster.c +++ b/mart/ex10/ex10dmaster.c @@ -16,19 +16,21 @@ RT_TASK task; RTIME times[SAMPLES]; -void lpt1_handler(void *arg) +void taskf(void *arg) { RT_INTR intr; - rt_intr_create(&intr, "lpt1 handler", LPT1IRQ, 0); + rt_printf("Succes creation: %d\n", rt_intr_create(&intr, "lpt1 handler", LPT1IRQ, I_PROPAGATE)); rt_task_set_periodic(NULL, TM_NOW, 1e5); rt_printf("Sending\n"); unsigned int i; for(i = 0; i