X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=int%2Ftask.c;h=8fde866a338fd4562cdf9dc9482dbfa665605c30;hb=e09afe083f9077d63a8bd6c27ed8fa5da60430a8;hp=567fd9fdee2175b023ce1a70c1994616ad0b2380;hpb=385cba3194e613293fbb1b7ef092a78eb6337528;p=mTask.git diff --git a/int/task.c b/int/task.c index 567fd9f..8fde866 100644 --- a/int/task.c +++ b/int/task.c @@ -29,14 +29,20 @@ int task_register(void) memset(&tasks[ct], 0, sizeof(struct task)); //Read interval tasks[ct].interval = read16(); + debug("interval"); + debugi(tasks[ct].interval); //Read tasklength tasks[ct].tlen = read16(); + debug("length"); + debugi(tasks[ct].tlen); if(tasks[ct].tlen > MAXTASKSIZE) die("Task is too long: %d", tasks[ct].tlen); //Read task bytecode for(unsigned int i = 0; i