git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: fix test programs using old uart API
[aversive.git]
/
projects
/
example2
/
main.c
diff --git
a/projects/example2/main.c
b/projects/example2/main.c
index
da4134f
..
4faad5f
100644
(file)
--- a/
projects/example2/main.c
+++ b/
projects/example2/main.c
@@
-105,8
+105,8
@@
int main(void)
u08 tab2[4];
#ifndef HOST_VERSION
-/* uart_init(); */
-/* fdevopen((int (*)(char))uart0_send,(int (*)(void))uart0_recv,0); */
+ uart_init();
+ fdevopen(uart0_dev_send, NULL, 0);
#endif
my_list_type my_list ;
my_another_list_type another_list ;