repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[mTask.git]
/
int
/
main.c
diff --git
a/int/main.c
b/int/main.c
index
026fd5d
..
bd0a428
100644
(file)
--- a/
int/main.c
+++ b/
int/main.c
@@
-76,7
+76,7
@@
void loop(void)
debug("Current task to run: %d", ct);
run_task(curtask);
curtask->lastrun = cyclestart;
debug("Current task to run: %d", ct);
run_task(curtask);
curtask->lastrun = cyclestart;
-
write_byte('\n');
+
//
write_byte('\n');
}
}
}
}
@@
-88,19
+88,22
@@
int main(int argc, char *argv[]){
gargv = argv;
#endif
gargv = argv;
#endif
+ read_byte();
//Initialize systems
setup();
sds_init();
task_init();
//Initialize systems
setup();
sds_init();
task_init();
+ while(!input_available()){
+ delay(100);
+ }
debug("booting up");
while(true){
//Check for newetasks
debug("loop");
loop();
debug("booting up");
while(true){
//Check for newetasks
debug("loop");
loop();
- input_available();
- delay(100);
+ delay(10);
}
return 0;
}
}
return 0;
}