testing read func call behavior
This commit is contained in:
parent
0f2f814f9f
commit
4c96ace1ca
9
tests.c
9
tests.c
@ -9,13 +9,18 @@ void test_serial_write() {
|
|||||||
printf("serial test write finished\n");
|
printf("serial test write finished\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_write() {
|
void test_write(void) {
|
||||||
char* msg1 = "Writing to fbout\n";
|
char* msg1 = "Writing to fbout\n";
|
||||||
printf(msg1);
|
printf(msg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_dispatcher() {
|
void test_dispatcher(void) {
|
||||||
clear_fb();
|
clear_fb();
|
||||||
test_write();
|
test_write();
|
||||||
test_write();
|
test_write();
|
||||||
}
|
}
|
||||||
|
void test_read(void) {
|
||||||
|
char buf[5];
|
||||||
|
u32 bread = read(buf, 5);
|
||||||
|
printhex(bread);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user