#include <stdlib.h>
#include <string.h>
-#ifdef ARDUINO
-#include <Arduino.h>
-#include <HardwareSerial.h>
-#else
+#ifndef STM32F767xx
#include <unistd.h>
#include <stdio.h>
#endif
-#include "misc.h"
#include "task.h"
+#include "interface.h"
struct task tasks[MAXTASKS];
//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;
}