update now working
[mTask.git] / int / task.c
index a08e791..3280b1e 100644 (file)
@@ -39,13 +39,17 @@ int task_register(void)
        //Read task bytecode
        for(unsigned int i = 0; i<tasks[ct].tlen; i++){
                tasks[ct].bc[i] = read_byte();
-               debug("t[][%i]: 0x%02x %d", i,
-                       tasks[ct].bc[i], tasks[ct].bc[i]);
+//             debug("t[][%i]: 0x%02x %d", i,
+//                     tasks[ct].bc[i], tasks[ct].bc[i]);
        }
        //Return the task number for later removal
        debug("Received a task of length %d", tasks[ct].tlen);
        tasks[ct].used = true;
        tasks[ct].lastrun = 0L;
+//     write_byte('t');
+//     write_byte(0);
+//     write_byte(ct);
+//     write_byte('\n');
 
        return ct;
 }