From b2d4a5ec1bd22acd223cae5617496d232d22ec75 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 5 Dec 2019 01:30:02 -0800 Subject: [PATCH] updated read test to printout some debug things --- tests.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests.c b/tests.c index 14ed1b6..0bdf098 100644 --- a/tests.c +++ b/tests.c @@ -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(" "); + } }