started communication from scratch
[mTask.git] / int / main.c
index 7840876..5acebef 100644 (file)
@@ -23,7 +23,7 @@ void read_message(void)
        //Find next task
        if(input_available()){
                uint8_t c = read_byte();
-               debug("Receiving input: %c\n", c);
+               debug("Receiving input: %c %02x\n", c, c);
                switch(c){
                case MSG_SDS_SPEC:
                        debug("Receiving an sds");
@@ -50,7 +50,6 @@ void read_message(void)
                        break;
                default:
                        debug("Unknown message: %X", c);
-                       debugi(c);
                }
        }
 }
@@ -79,7 +78,6 @@ void loop(void)
                debug("Current task to run: %d", ct);
                run_task(curtask);
                curtask->lastrun = cyclestart;
-               write_byte('\n');
        }
 }