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:
parent
bdb8f6d352
commit
16af97c79a
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user