have device logic go in withDevices
[mTask.git] / client / task.c
index e36600d..9206a13 100644 (file)
@@ -6,10 +6,7 @@
 #include "interface.h"
 #include "mem.h"
 
-extern uint8_t *mem_top;
-extern uint8_t *mem_bottom;
-extern uint8_t *mem_task;
-extern uint8_t *mem_sds;
+extern uint8_t *mem_top, *mem_bottom, *mem_task, *mem_sds;
 
 uint8_t taskid = 0;
 
@@ -86,7 +83,6 @@ struct task *task_next(struct task *t)
 void task_delete(uint8_t c)
 {
        debug("Going to delete task: %i", c);
-       debug("mem_task: %p", mem_task);
        struct task *t = task_head();
        while(t != NULL){
                if(t->taskid == c){
@@ -108,5 +104,4 @@ void task_delete(uint8_t c)
                //Decrement the spacepointer
                mem_task -= end-start;
        }
-       debug("mem_task: %p", mem_task);
 }