update device name instead of record
[mTask.git] / client / task.h
index 0ea1b99..a6c02b7 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef TASK_H
 #define TASK_H
 
-#define MAXTASKS 5
 #define MAXTASKSIZE 1024
 
 #include <stdint.h>
@@ -15,6 +14,9 @@ struct task {
        bool used;
 };
 
+bool is_interrupt_task(struct task* t);
+bool had_interrupt(struct task* t);
+
 void task_init(void);
 void task_register(void);
 void task_delete(void);