X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=int%2Fmain.c;h=7840876bc4ab797a68098326c9078b803b211c78;hb=e09afe083f9077d63a8bd6c27ed8fa5da60430a8;hp=b813ab2558c361016c1f014a4ecec256eeb67aba;hpb=b55c1c423b6f00357b2ae2bbdd2abcf4456fd0cd;p=mTask.git diff --git a/int/main.c b/int/main.c index b813ab2..7840876 100644 --- a/int/main.c +++ b/int/main.c @@ -30,7 +30,7 @@ void read_message(void) sds_register(); break; case MSG_SDS_UPD: - debug("Receiving an sds"); + debug("Receiving an sds update"); //TODO do something with the return value sds_update(); break; @@ -40,9 +40,9 @@ void read_message(void) break; case MSG_GET_TASK: debug("Receiving a task"); - write_dpin(0, true); + // write_dpin(0, true); task_register(); - write_dpin(0, false); + // write_dpin(0, false); break; case '\0': break; @@ -50,6 +50,7 @@ void read_message(void) break; default: debug("Unknown message: %X", c); + debugi(c); } } } @@ -98,7 +99,7 @@ int main(int argc, char *argv[]){ debug("booting up"); while(true){ //Check for newetasks - debug("loop"); +// debug("loop"); loop(); delay(100); }