uart: rename print to printf

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

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);