X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=client%2Ftask.c;fp=client%2Ftask.c;h=266029f51ee17b87f3d36dc58d66c17bbcfacbbd;hb=a408afc0974b9a122d34f42afe177b08668c075c;hp=2b42fd87c393f755213107544e44c16e2eb068f8;hpb=fcb4abeb34dc3302f15b10c3b916bc14e3047707;p=mTask.git diff --git a/client/task.c b/client/task.c index 2b42fd8..266029f 100644 --- a/client/task.c +++ b/client/task.c @@ -29,9 +29,6 @@ void task_register(void) } - //Read return type - t->type = read_byte(); - //Read tasklength t->tasklength = read16(); debug("task interval: %d, length: %d\n", t->interval, t->tasklength); @@ -98,7 +95,6 @@ void task_delete(uint8_t c) //Write acknowledgement write_byte('d'); write16(c); - write16(t->value); write_byte('\n'); if(t != NULL){