repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add external libraries and update stm version
[mTask.git]
/
int
/
nucleo-f767-blinky
/
src
/
main.c
diff --git
a/int/nucleo-f767-blinky/src/main.c
b/int/nucleo-f767-blinky/src/main.c
index
1a704b4
..
0be5c0f
100644
(file)
--- a/
int/nucleo-f767-blinky/src/main.c
+++ b/
int/nucleo-f767-blinky/src/main.c
@@
-81,20
+81,23
@@
void loop()
// debug("Task %d not scheduled\n", ct);
continue;
}
// debug("Task %d not scheduled\n", ct);
continue;
}
-
printf
("Current task to run: %d\n", ct);
+
debug
("Current task to run: %d\n", ct);
run_task(curtask);
curtask->lastrun = cyclestart;
run_task(curtask);
curtask->lastrun = cyclestart;
+ write_byte('\n');
}
}
- write_byte('\n');
}
#ifdef STM32F767xx
}
#ifdef STM32F767xx
+char s[128] = "";
int main1(void){
#else
int main(int argc, char *argv[]){
gargc = argc;
gargv = argv;
#endif
int main1(void){
#else
int main(int argc, char *argv[]){
gargc = argc;
gargv = argv;
#endif
+ debug("booting up\r\n");
+
//Initialize systems
setup();
sds_init();
//Initialize systems
setup();
sds_init();
@@
-104,8
+107,9
@@
int main(int argc, char *argv[]){
while(true){
//Check for new tasks
while(true){
//Check for new tasks
+ debug("loop\r\n");
loop();
loop();
- delay(10);
+ delay(10
0
);
}
return 0;
}
}
return 0;
}