diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-20 12:45:42 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-06 11:50:46 -0600 |
commit | 797a77fcc8655a641630758dc4022f215008f23b (patch) | |
tree | 0e485cb3a83ae7388a729b20f3aec617cb8e4bb1 /cmd/sbc_harness/main.c | |
parent | 0fec22d4106ff6f80296d1511eec7a82160c2245 (diff) |
libmisc: log.h: Add a "log_" prefix to errorf/infof/debugf
Diffstat (limited to 'cmd/sbc_harness/main.c')
-rw-r--r-- | cmd/sbc_harness/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index 5630e83..7d6c085 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -129,7 +129,7 @@ static COROUTINE hello_world_cr(void *_chan) { for (size_t i = 0;; i = (i+1) % strlen(msg)) { int result = usb_keyboard_rpc_send_req(chan, (uint32_t)msg[i]); if (result < 1) { - errorf("error sending rune U+%d", (uint32_t)msg[i]); + log_errorf("error sending rune U+%d", (uint32_t)msg[i]); break; } } @@ -246,7 +246,7 @@ int main() { bootclock = rp2040_hwtimer(0); stdio_uart_init(); /* char *hdr = "=" * (80-strlen("info : MAIN: ")); */ - infof("==================================================================="); + log_infof("==================================================================="); coroutine_add("init", init_cr, NULL); coroutine_main(); assert_notreached("all coroutines exited"); |