if(t != NULL){
//We found the task, now we move everything from the end of the task up
//to the spacepointer right
uint8_t *start = (uint8_t *)t;
uint8_t *end = start + sizeof(struct task) + t->tasklength;
if(t != NULL){
//We found the task, now we move everything from the end of the task up
//to the spacepointer right
uint8_t *start = (uint8_t *)t;
uint8_t *end = start + sizeof(struct task) + t->tasklength;