updated read test to printout some debug things

This commit is contained in:
shockrah 2019-12-05 01:30:02 -08:00
parent 771536c427
commit b2d4a5ec1b

View File

@ -23,5 +23,10 @@ void test_read(void) {
char buf[5];
u32 bread = read(buf, 5);
printf("Bytes read: "); printhex(bread);
printf("\n");
printf("String read: "); printf(buf);
printf("\n");
for(u32 i = 0;i<5;i++) {
printhex(buf[i]); printf(" ");
}
}