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]
/
modules
/
debug
/
diagnostic
/
test
/
test_int_show.c
diff --git
a/modules/debug/diagnostic/test/test_int_show.c
b/modules/debug/diagnostic/test/test_int_show.c
index
d5ef558
..
2d22079
100644
(file)
--- a/
modules/debug/diagnostic/test/test_int_show.c
+++ b/
modules/debug/diagnostic/test/test_int_show.c
@@
-53,9
+53,9
@@
void interrupt(void)
// prints the string
if (buf[buf_index] == 0)
// prints the string
if (buf[buf_index] == 0)
- uart
0_send(
' ');
+ uart
_send(0,
' ');
else
else
- uart
0_send(
buf[buf_index++]);
+ uart
_send(0,
buf[buf_index++]);
}
}
@@
-77,7
+77,7
@@
int test_int_show(void)
wait_ms(500);
// should be replaced by the scheduler
wait_ms(500);
// should be replaced by the scheduler
- uart
0_register_tx_event(
(void *) interrupt);
+ uart
_register_tx_event(0,
(void *) interrupt);
// start characters
printf("\n");
// start characters
printf("\n");