uart: rename print to printf

This commit is contained in:
CTCaer committed 2022-06-25 05:42:42 +03:00
1 parent bdb8f6d352
commit 16af97c79a
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -199,9 +199,11 @@ void uart_empty_fifo(u32 idx, u32 which)
#include <utils/sprintf.h>
void uart_print(const char *fmt, ...)
void uart_printf(const char *fmt, ...)
{
va_list ap;
//! NOTE: Anything more and it will hang. Heap usage is out of the question.
char text[256];
va_start(ap, fmt);