repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove tcp busy loop
[mTask.git]
/
client
/
main.c
diff --git
a/client/main.c
b/client/main.c
index
90f6e5f
..
9fc91df
100644
(file)
--- a/
client/main.c
+++ b/
client/main.c
@@
-84,11
+84,11
@@
void loop(void)
curtask->lastrun = cyclestart;
if(curtask->interval == 0){
curtask->used = false;
curtask->lastrun = cyclestart;
if(curtask->interval == 0){
curtask->used = false;
-
write_byte('m');
-
write_byte('d');
-
write_byte('\n');
+
//
write_byte('m');
+
//
write_byte('d');
+
//
write_byte('\n');
}
}
-
write_byte('\n');
+
//
write_byte('\n');
}
}
}
}
@@
-104,10
+104,9
@@
int main(int argc, char *argv[]){
setup();
sds_init();
task_init();
setup();
sds_init();
task_init();
-
//
debug("booting up");
+ debug("booting up");
while(true){
//Check for newetasks
while(true){
//Check for newetasks
-// debug("loop");
loop();
delay(50);
}
loop();
delay(50);
}