From 5e7cd0c7f237e1b276674245c733bbcfe055bd55 Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Tue, 13 Jul 2021 17:05:42 +0800 Subject: [PATCH] am-tests,intr: change printf() to putch() --- tests/am-tests/src/tests/intr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/am-tests/src/tests/intr.c b/tests/am-tests/src/tests/intr.c index e03a0a7..841e96b 100644 --- a/tests/am-tests/src/tests/intr.c +++ b/tests/am-tests/src/tests/intr.c @@ -3,11 +3,11 @@ Context *simple_trap(Event ev, Context *ctx) { switch(ev.event) { case EVENT_IRQ_TIMER: - printf("t"); break; + putch('t'); break; case EVENT_IRQ_IODEV: - printf("d"); break; + putch('d'); break; case EVENT_YIELD: - printf("y"); break; + putch('y'); break; default: break; }