add clean-platform
[mTask.git] / int / nucleo-f767-blinky / src / task.c
index 07b7de8..06b738d 100644 (file)
@@ -43,6 +43,7 @@ int task_register()
        //Return the task number for later removal
        debug("Received a task of length %d\n", tasks[ct].tlen);
        tasks[ct].used = true;
+       tasks[ct].lastrun = 0L;
        return ct;
 }