1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-02 11:30:41 +00:00

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

View File

@ -110,7 +110,7 @@ u32 uart_get_IIR(u32 idx);
void uart_set_IIR(u32 idx);
void uart_empty_fifo(u32 idx, u32 which);
#ifdef DEBUG_UART_PORT
void uart_print(const char *fmt, ...);
void uart_printf(const char *fmt, ...);
#endif
#endif