X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;ds=sidebyside;f=int%2Fmain.c;h=b813ab2558c361016c1f014a4ecec256eeb67aba;hb=b55c1c423b6f00357b2ae2bbdd2abcf4456fd0cd;hp=026fd5dcb696631e19d2b99b8c233b39d880ab27;hpb=fb5465ae10e39a9505634e0aaf8e1cab9710f5d7;p=mTask.git diff --git a/int/main.c b/int/main.c index 026fd5d..b813ab2 100644 --- a/int/main.c +++ b/int/main.c @@ -40,7 +40,9 @@ void read_message(void) break; case MSG_GET_TASK: debug("Receiving a task"); + write_dpin(0, true); task_register(); + write_dpin(0, false); break; case '\0': break; @@ -94,12 +96,10 @@ int main(int argc, char *argv[]){ task_init(); debug("booting up"); - while(true){ //Check for newetasks debug("loop"); loop(); - input_available(); delay(100); } return 0;